Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
testsuite: fix potential race in t4011-match-duration.t
Problem: There is a potential race condition in the test in t4011-match-duration.t that ensures that Fluxion updates the internal expiration of its resource set when running as a job with an expiration update. The problem occurs because the scheduler update is asynchronous with respect to the instance update, which is detected via a resource-update event in the resource.eventlog. Wait for the scheduler to receive the updated expiration by blocking in the test until a log message is posted that the update has been processed.
- Loading branch information