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
Fix race condition in ProgressContantsTest.testKeepOneProperty
The test was failing intermittently with "expected:<1> but was:<0>" because
it was asserting the KEEPONE property result before the async cleanup logic
had completed. The previous fix added an error job as a synchronization
marker, but this wasn't sufficient as the cleanup can still be pending after
the error job appears.
This fix adds explicit waits for the actual condition being tested: that
exactly 1 item from the DummyFamilyJob family remains in the progress view.
By waiting for countBelongingProgressItems() to return 1, we ensure the
KEEPONE cleanup has fully stabilized before asserting.
Fixes: https://github.com/eclipse-platform/eclipse.platform.ui/runs/55056915330
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments