Skip to content

Commit

Permalink
addendum
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewjstone committed Oct 25, 2023
1 parent d60994c commit 564f44b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions illumos-utils/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ mod inner {
// don't actually want to use it. We allow them to opt out of the use of the
// free function here. We also explicitly opt-in where mocks are used.
//
// Note that this only works if the tests that use mocks and those that don't
// are run sequentially. However, this is how we do things in CI with nextest,
// so there is no problem currently.
//
// We can remove all this when we get rid of the mocks.
pub static USE_MOCKS: AtomicBool = AtomicBool::new(false);

Expand Down

0 comments on commit 564f44b

Please sign in to comment.