Unverified Commit 190b3dad authored by Jude Gao's avatar Jude Gao Committed by GitHub

Reduce turbo hmr e2e flakiness (#72114)

Running the tests continuously for an hour on my PC, the tests succeeded
with no failure.

```
while pnpm test-dev-turbo test/development/app-hmr/hmr.test.ts; do :; done
```

Will monitor the flakiness after this lands. Hope it reduces it below
20%.
parent 8b881a54
......@@ -147,8 +147,10 @@ describe(`app-dir-hmr`, () => {
expect(await browser.elementByCss('p').text()).toBe('mac')
await next.patchFile(envFile, 'MY_DEVICE="ipad"')
const logs = await browser.log()
let logs
await retry(async () => {
logs = await browser.log()
expect(logs).toEqual(
expect.arrayContaining([
expect.objectContaining({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment