Skip to content

Commit

Permalink
tune the constraint more
Browse files Browse the repository at this point in the history
  • Loading branch information
ruseinov committed Jun 22, 2024
1 parent 8d46a99 commit 99a9834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion near-sdk/tests/store_performance_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ async fn setup_worker() -> anyhow::Result<(Arc<Worker<Sandbox>>, AccountId)> {
fn perform_asserts(total_gas: u64, col: &Collection) {
// Constraints a bit relaxed to account for binary differences due to on-demand compilation.
assert!(
total_gas < NearGas::from_tgas(105).as_gas(),
total_gas < NearGas::from_tgas(110).as_gas(),
"performance regression {}: {}",
col,
NearGas::from_gas(total_gas)
Expand Down

0 comments on commit 99a9834

Please sign in to comment.