Skip to content

Fix manager state observation and associated tests#55

Merged
dcaunt merged 1 commit intomainfrom
dave/fix-manager-observation
Aug 8, 2024
Merged

Fix manager state observation and associated tests#55
dcaunt merged 1 commit intomainfrom
dave/fix-manager-observation

Conversation

@dcaunt
Copy link
Collaborator

@dcaunt dcaunt commented Aug 7, 2024

After fixing the flaky test, it was clear that there was also a bug in the state observation stream. By capturing self.state, it was not evaluated until the enqueued operation actually executed, but we need to capture the value of state at the time of enqueuing.

Test failure rate was previously somewhere between 10% and 25% of runs. I've left the tests running on a loop and I'm confident they are no longer flaky.

@dcaunt dcaunt force-pushed the dave/fix-manager-observation branch from fb99e22 to 8e8ceba Compare August 7, 2024 16:53
@dcaunt dcaunt marked this pull request as ready for review August 7, 2024 19:23
@dcaunt dcaunt merged commit 23e9f08 into main Aug 8, 2024
@dcaunt dcaunt deleted the dave/fix-manager-observation branch August 8, 2024 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants