Skip to content

Commit

Permalink
Merge branch 'fix-assertion-performance-test' into 'master'
Browse files Browse the repository at this point in the history
fix assertion in performance test

 

See merge request dfinity-lab/public/ic!14735
  • Loading branch information
nikolay-komarevskiy committed Sep 12, 2023
2 parents 0dd3fe1 + 0b12776 commit 0133e0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rs/tests/boundary_nodes/boundary_node_performance_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fn main() -> Result<()> {
.with_setup(setup_with_config)
.add_test(systest!(update_calls_test))
.add_test(systest!(query_calls_test))
.with_timeout_per_test(Duration::from_secs(100 * 60))
.with_timeout_per_test(Duration::from_secs(140 * 60))
.execute_from_args()?;
Ok(())
}
2 changes: 1 addition & 1 deletion rs/tests/src/boundary_nodes/performance_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ pub fn query_calls_test(env: TestEnv) {
metrics.success_calls()
);
let expected_requests_count = rps * workload_per_step_duration.as_secs() as usize;
assert_eq!(metrics.success_calls(), rps * expected_requests_count);
assert_eq!(metrics.success_calls(), expected_requests_count);
assert_eq!(metrics.failure_calls(), 0);
}
}

0 comments on commit 0133e0b

Please sign in to comment.