speed up e2e test
This commit is contained in:
parent
d7e59f3293
commit
35b20f754b
2 changed files with 3 additions and 3 deletions
|
|
@ -58,14 +58,14 @@ impl TestPeerMetadata {
|
|||
}
|
||||
|
||||
pub fn disconnect_probability(&self) -> f64 {
|
||||
if self.server_id % 2 == 0 {
|
||||
if self.server_id % 2 == 1 {
|
||||
return 0.05f64;
|
||||
}
|
||||
0f64
|
||||
}
|
||||
|
||||
pub fn bad_data_probability(&self) -> f64 {
|
||||
if self.server_id % 2 == 0 {
|
||||
if self.server_id % 2 == 1 {
|
||||
return 0.05f64;
|
||||
}
|
||||
0f64
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue