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

Fixed flaky aws2 cw test with real service #6170

Merged
merged 1 commit into from
Jun 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -228,15 +228,17 @@ public void headers() {
if (!(oddDp.sampleCount().intValue() == 2
&& oddDp.minimum().intValue() == 2 * value + 1
&& oddDp.maximum().intValue() == 2 * value + 3)) {
throw new RuntimeException("Unexpected odd datapoint " + oddDp
LOG.warn("Unexpected odd datapoint " + oddDp
+ "; expected sampleCount == 2 && minimum ~ " + (2 * value + 1)
+ " && maximum ~ " + (2 * value + 3));
return false;
}

if (!(evenDp.average() == 2 * value + 2
&& evenDp.sampleCount() == 3)) {
throw new RuntimeException("Unexpected even datapoint " + evenDp
LOG.warn("Unexpected even datapoint " + evenDp
+ "; expected sampleCount == 3 && average == " + (2 * value + 2));
return false;
}

return true;
Expand Down
Loading