You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test(android): AVD lock refusal test once failed to reject under concurrent suites #294
packages/android/test/emulator.test.ts "refuses a writable start while a live emulator holds the AVD lock" failed once under two concurrent full suites on main be2d00c: expected startEmulator to reject at the first startFailure call. The test writes the lock file with the pid of a live sleep 60 whose argv[0] is emulator, then expects avd-in-use.
PR #289 found that the AVD home and port registry are already private to each run, so the other run cannot touch this lock. The cause is not known. It did not reproduce in 46 concurrent runs (16 on the old code, 30 with PR #289). PR #289 now serializes this file across runs, which hides any cross-run effect, but a cause inside one run is not ruled out.
Find how the live lock holder could be missed (for example the pid or cmdline check right after spawn, or lock parsing)
Activity
test(android): wait for the AVD lock holder to finish exec