-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable skipping network-based tests.
This commit works off of an environmental variable called 'FASTSIM_DISABLE_NETWORK_TESTS'. If this variable is set (regardless of the value), then networking tests will be skipped. Within the code, the environment variable is referenced via the constant NETWORK_TEST_DISABLE_ENV_VAR_NAME. If 'FASTSIM_DISABLE_NETWORK_TESTS' is set, the test will print to console and exit (i.e., it will show as passing). A user will need to run `cargo test -- --nocapture` to see the print statements that the test has been skipped.
- Loading branch information
Michael O'Keefe
authored and
Michael O'Keefe
committed
Oct 2, 2024
1 parent
bd9111b
commit a6baa92
Showing
5 changed files
with
52 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters