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

Address test flake due to timing #1595

Merged
merged 1 commit into from
Jun 10, 2024
Merged

Conversation

davidkel
Copy link
Contributor

The original test assumes that the 2 generated dates will occur on the exact same millisecond which is going to be unlikely. This fix allows for upto a 5 second discrepancy

The original test assumes that the 2 generated dates will occur on the
exact same millisecond which is going to be unlikely. This fix allows
for upto a 5 second discrepancy

Signed-off-by: Dave Kelsey <[email protected]>
@davidkel davidkel requested a review from a team June 10, 2024 07:21
Copy link

codecov bot commented Jun 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 56.01%. Comparing base (f24f777) to head (c37f4cb).
Report is 13 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1595      +/-   ##
==========================================
+ Coverage   55.85%   56.01%   +0.15%     
==========================================
  Files         105      105              
  Lines        4510     4508       -2     
  Branches      689      691       +2     
==========================================
+ Hits         2519     2525       +6     
+ Misses       1437     1426      -11     
- Partials      554      557       +3     
Flag Coverage Δ
caliper-core 45.15% <ø> (+0.21%) ⬆️
caliper-fabric 80.36% <ø> (-0.10%) ⬇️
generator-caliper 83.62% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@davidkel davidkel merged commit 8ec4e00 into hyperledger-caliper:main Jun 10, 2024
18 checks passed
@davidkel davidkel deleted the fixtest branch June 10, 2024 08:24
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.

1 participant