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

fix tests run with -race in server/mdm/scep #17274

Merged
merged 1 commit into from
Feb 29, 2024
Merged

fix tests run with -race in server/mdm/scep #17274

merged 1 commit into from
Feb 29, 2024

Conversation

roperzh
Copy link
Contributor

@roperzh roperzh commented Feb 29, 2024

scheduled tests, which are run with -race are failing, this was fixed in the etcd-io/bbolt fork of the now archived boltdb/bolt, for more details check this issue.

since boltdb is used only for tests, and they're passing after switching to the fork, this seems like a reasonable way to fix them.

Checklist for submitter

If some of the following don't apply, delete the relevant line.

  • Added/updated tests
  • Manual QA for all new/changed functionality

scheduled tests, which are run with `-race` are [failing][1], this was
fixed in the `etcd-io/bbolt` fork of the now archived `boltdb/bolt`, for
more details check [this issue][2].

since boltdb is used only for tests, and they're passing after switching
to the fork, this seems like a reasonable way to fix them.

[1]: https://github.com/fleetdm/fleet/actions/runs/8090809417
[2]: etcd-io/bbolt#391
Copy link

codecov bot commented Feb 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 65.34%. Comparing base (0c08ec3) to head (c26dcfc).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #17274      +/-   ##
==========================================
- Coverage   65.45%   65.34%   -0.12%     
==========================================
  Files        1187     1187              
  Lines      106167   106167              
  Branches     2546     2546              
==========================================
- Hits        69495    69371     -124     
- Misses      31394    31506     +112     
- Partials     5278     5290      +12     
Flag Coverage Δ
backend 66.33% <ø> (-0.13%) ⬇️

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.

@roperzh roperzh marked this pull request as ready for review February 29, 2024 18:50
@roperzh roperzh requested a review from a team as a code owner February 29, 2024 18:50
Copy link
Contributor

@mostlikelee mostlikelee left a comment

Choose a reason for hiding this comment

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

so happy the new package is plug and play!

@roperzh roperzh merged commit 89ae60d into main Feb 29, 2024
17 checks passed
@roperzh roperzh deleted the fix-nano-tests branch February 29, 2024 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants