Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go/oasis-test-runner: Fix flaky key manager rotation failure test #5455

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

peternose
Copy link
Contributor

@peternose peternose commented Nov 17, 2023

In the key manager rotation failure test, start key managers after they deregister to ensure that both are added to the committee simultaneously. If key managers are started randomly, there is a risk that only one will be added to the committee, as the other may register in another epoch.

@peternose peternose marked this pull request as ready for review November 17, 2023 19:00
@peternose peternose enabled auto-merge November 17, 2023 19:00
@peternose peternose force-pushed the peternose/trivial/fix-km-rotation-failure-test branch 2 times, most recently from 1fc39ff to 5d4ef9d Compare November 20, 2023 10:20
In the key manager rotation failure test, start key managers after they
deregister to ensure that both are added to the committee simultaneously.
If key managers are started randomly, there is a risk that only one will
be added to the committee, as the other may register in another epoch.
@peternose peternose force-pushed the peternose/trivial/fix-km-rotation-failure-test branch from 5d4ef9d to 725c84a Compare November 20, 2023 10:27
@peternose peternose disabled auto-merge November 20, 2023 10:28
Copy link

codecov bot commented Nov 20, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (65d9a71) 66.37% compared to head (725c84a) 66.51%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5455      +/-   ##
==========================================
+ Coverage   66.37%   66.51%   +0.13%     
==========================================
  Files         533      533              
  Lines       56390    56390              
==========================================
+ Hits        37427    37505      +78     
+ Misses      14538    14484      -54     
+ Partials     4425     4401      -24     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@peternose peternose merged commit 983a407 into master Nov 20, 2023
3 checks passed
@peternose peternose deleted the peternose/trivial/fix-km-rotation-failure-test branch November 20, 2023 11:21
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