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

test: Add missing gomega Eventually intervals #14388

Merged
merged 1 commit into from
Dec 15, 2020

Conversation

jrajahalme
Copy link
Member

Gomega time interval between Eventually retries is 10ms. Use 1 second
to clean up the test logs like these:

...
15:31:27 23:31:26 STEP: Cilium DaemonSet not ready yet: only 1 of 2 desired pods are ready
15:31:27 23:31:27 STEP: Cilium DaemonSet not ready yet: only 1 of 2 desired pods are ready
15:31:27 23:31:27 STEP: Cilium DaemonSet not ready yet: only 1 of 2 desired pods are ready
15:31:27 23:31:27 STEP: Cilium DaemonSet not ready yet: only 1 of 2 desired pods are ready
15:31:27 23:31:27 STEP: Cilium DaemonSet not ready yet: only 1 of 2 desired pods are ready
15:31:27 23:31:27 STEP: Cilium DaemonSet not ready yet: only 1 of 2 desired pods are ready
15:31:27 23:31:27 STEP: Cilium DaemonSet not ready yet: only 1 of 2 desired pods are ready
15:31:27 23:31:27 STEP: Cilium DaemonSet not ready yet: only 1 of 2 desired pods are ready
15:31:28 23:31:27 STEP: Cilium DaemonSet not ready yet: only 1 of 2 desired pods are ready
15:31:28 23:31:27 STEP: Cilium DaemonSet not ready yet: only 1 of 2 desired pods are ready
15:31:28 23:31:27 STEP: Cilium DaemonSet not ready yet: only 1 of 2 desired pods are ready
15:31:28 23:31:27 STEP: Cilium DaemonSet not ready yet: only 1 of 2 desired pods are ready
15:31:28 23:31:27 STEP: Cilium DaemonSet not ready yet: only 1 of 2 desired pods are ready
15:31:28 23:31:27 STEP: Cilium DaemonSet not ready yet: only 1 of 2 desired pods are ready
15:31:28 23:31:28 STEP: Cilium DaemonSet not ready yet: only 1 of 2 desired pods are ready
15:31:28 23:31:28 STEP: Cilium DaemonSet not ready yet: only 1 of 2 desired pods are ready
...

Signed-off-by: Jarno Rajahalme jarno@covalent.io

Gomega time interval between Eventually retries is 10ms. Use 1 second
to clean up the test logs like these:

...
15:31:27  23:31:26 STEP: Cilium DaemonSet not ready yet: only 1 of 2 desired pods are ready
15:31:27  23:31:27 STEP: Cilium DaemonSet not ready yet: only 1 of 2 desired pods are ready
15:31:27  23:31:27 STEP: Cilium DaemonSet not ready yet: only 1 of 2 desired pods are ready
15:31:27  23:31:27 STEP: Cilium DaemonSet not ready yet: only 1 of 2 desired pods are ready
15:31:27  23:31:27 STEP: Cilium DaemonSet not ready yet: only 1 of 2 desired pods are ready
15:31:27  23:31:27 STEP: Cilium DaemonSet not ready yet: only 1 of 2 desired pods are ready
15:31:27  23:31:27 STEP: Cilium DaemonSet not ready yet: only 1 of 2 desired pods are ready
15:31:27  23:31:27 STEP: Cilium DaemonSet not ready yet: only 1 of 2 desired pods are ready
15:31:28  23:31:27 STEP: Cilium DaemonSet not ready yet: only 1 of 2 desired pods are ready
15:31:28  23:31:27 STEP: Cilium DaemonSet not ready yet: only 1 of 2 desired pods are ready
15:31:28  23:31:27 STEP: Cilium DaemonSet not ready yet: only 1 of 2 desired pods are ready
15:31:28  23:31:27 STEP: Cilium DaemonSet not ready yet: only 1 of 2 desired pods are ready
15:31:28  23:31:27 STEP: Cilium DaemonSet not ready yet: only 1 of 2 desired pods are ready
15:31:28  23:31:27 STEP: Cilium DaemonSet not ready yet: only 1 of 2 desired pods are ready
15:31:28  23:31:28 STEP: Cilium DaemonSet not ready yet: only 1 of 2 desired pods are ready
15:31:28  23:31:28 STEP: Cilium DaemonSet not ready yet: only 1 of 2 desired pods are ready
...

Signed-off-by: Jarno Rajahalme <jarno@covalent.io>
@jrajahalme jrajahalme added kind/enhancement This would improve or streamline existing functionality. area/CI Continuous Integration testing issue or flake release-note/misc This PR makes changes that have no direct user impact. labels Dec 12, 2020
@jrajahalme jrajahalme requested review from a team December 12, 2020 23:50
@jrajahalme jrajahalme requested a review from a team as a code owner December 12, 2020 23:50
@jrajahalme jrajahalme requested review from a team, jibi, nebril and glibsm December 12, 2020 23:50
@maintainer-s-little-helper maintainer-s-little-helper bot added this to In progress in 1.10.0 Dec 12, 2020
@jrajahalme
Copy link
Member Author

test-me-please

@pchaigno
Copy link
Member

Please see #14384. Is there any benefit to printing the message in the first place?

Copy link
Member

@christarazi christarazi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with @pchaigno. These msgs aren't of any value. We can still print a msg when it fails. Either way, we can either do it as a followup or in this PR.

@aanm aanm merged commit 9f3db76 into master Dec 15, 2020
@aanm aanm deleted the pr/jrajahalme/test-gomega-interval branch December 15, 2020 09:38
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Needs backport from master in 1.9.2 Dec 18, 2020
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Needs backport from master in 1.8.7 Dec 18, 2020
@pchaigno
Copy link
Member

I've added labels for backports into v1.8 and v1.9 given this pull request fixes spam messages introduced by #14286, which was backported to those two branches.

@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Needs backport from master to Backport pending to v1.9 in 1.9.2 Jan 6, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Needs backport from master to Backport done to v1.8 in 1.8.7 Jan 13, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Backport pending to v1.9 to Backport done to v1.9 in 1.9.2 Jan 14, 2021
@aanm aanm added release-note/ci This PR makes changes to the CI. and removed release-note/misc This PR makes changes that have no direct user impact. labels Jan 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/CI Continuous Integration testing issue or flake kind/enhancement This would improve or streamline existing functionality. release-note/ci This PR makes changes to the CI.
Projects
No open projects
1.8.7
Backport done to v1.8
1.9.2
Backport done to v1.9
Development

Successfully merging this pull request may close these issues.

None yet

9 participants