Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added soak module, which should hold long running tests
- Loading branch information
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
testing/jormungandr-integration-tests/src/non_functional/voting/private/soak.rs
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
use crate::non_functional::voting::{ | ||
config::{adversary_noise_config, PrivateVotingLoadTestConfig}, | ||
private::{adversary_private_vote_load_scenario, private_vote_load_scenario}, | ||
}; | ||
|
||
#[test] | ||
pub fn private_vote_load_long_test() { | ||
let quick_config = PrivateVotingLoadTestConfig::long(); | ||
private_vote_load_scenario(quick_config) | ||
} | ||
|
||
#[test] | ||
pub fn adversary_private_vote_load_long_test() { | ||
let long_config = PrivateVotingLoadTestConfig::long(); | ||
let adversary_noise_config = adversary_noise_config(30, long_config.test_duration()); | ||
adversary_private_vote_load_scenario(long_config, adversary_noise_config) | ||
} |
17 changes: 17 additions & 0 deletions
17
testing/jormungandr-integration-tests/src/non_functional/voting/public/soak.rs
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
use crate::non_functional::voting::{ | ||
config::{adversary_noise_config, PublicVotingLoadTestConfig}, | ||
public::{adversary_public_vote_load_scenario, public_vote_load_scenario}, | ||
}; | ||
|
||
#[test] | ||
pub fn public_vote_load_long_test() { | ||
let long_config = PublicVotingLoadTestConfig::long(); | ||
public_vote_load_scenario(long_config) | ||
} | ||
|
||
#[test] | ||
pub fn adversary_public_vote_load_long_test() { | ||
let long_config = PublicVotingLoadTestConfig::long(); | ||
let adversary_noise_config = adversary_noise_config(30, long_config.test_duration()); | ||
adversary_public_vote_load_scenario(long_config, adversary_noise_config) | ||
} |