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

Make SessionApiTest not flakey #1411

Merged
merged 1 commit into from
Sep 23, 2024
Merged

Make SessionApiTest not flakey #1411

merged 1 commit into from
Sep 23, 2024

Conversation

bidetofevil
Copy link
Collaborator

@bidetofevil bidetofevil commented Sep 21, 2024

Goal

The SessionApiTest was flakey because whether the disk space attribute is written in the session is non-deterministic. So to make the payload predictable, I disabled that feature in this integration test verification, which is superfluous anyway since it working ought to be verified via unit tests anyway.

@bidetofevil bidetofevil requested a review from a team as a code owner September 21, 2024 03:46
@bidetofevil bidetofevil marked this pull request as draft September 21, 2024 03:46
Copy link
Collaborator Author

bidetofevil commented Sep 21, 2024

Copy link

codecov bot commented Sep 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.49%. Comparing base (8367925) to head (eaca61e).
Report is 2 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1411      +/-   ##
==========================================
- Coverage   82.51%   82.49%   -0.03%     
==========================================
  Files         477      477              
  Lines       10960    10960              
  Branches     1671     1671              
==========================================
- Hits         9044     9041       -3     
  Misses       1192     1192              
- Partials      724      727       +3     

see 2 files with indirect coverage changes

@bidetofevil bidetofevil force-pushed the hho/fix-concurrent-tests branch 2 times, most recently from 8cec184 to f26a061 Compare September 22, 2024 04:39
@bidetofevil bidetofevil changed the title Fix dem tests Make SessionApiTest not flakey Sep 22, 2024
@bidetofevil bidetofevil marked this pull request as ready for review September 22, 2024 04:42
Copy link
Contributor

@fractalwrench fractalwrench left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator Author

bidetofevil commented Sep 23, 2024

Merge activity

@bidetofevil bidetofevil changed the base branch from hho/ba-cacher-tweak to graphite-base/1411 September 23, 2024 15:33
@bidetofevil bidetofevil force-pushed the graphite-base/1411 branch 2 times, most recently from 993afa1 to 8367925 Compare September 23, 2024 18:53
@bidetofevil bidetofevil changed the base branch from graphite-base/1411 to main September 23, 2024 18:53
Copy link
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Manifest Files

@bidetofevil bidetofevil merged commit 7a83089 into main Sep 23, 2024
7 checks passed
@bidetofevil bidetofevil deleted the hho/fix-concurrent-tests branch September 23, 2024 19:04
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