Skip to content

Commit

Permalink
Merge pull request #2363 from pyth-network/devin/1739108797-update-st…
Browse files Browse the repository at this point in the history
…ale-threshold-test

test: update stale threshold test to subtract one more second
  • Loading branch information
cprussin authored Feb 9, 2025
2 parents 6e1bcd1 + 2db3fbb commit de72a97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target_chains/near/receiver/tests/workspaces.rs
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ async fn test_stale_threshold() {
.duration_since(std::time::UNIX_EPOCH)
.expect("Failed to get UNIX timestamp")
.as_secs()
- DEFAULT_VALID_TIME_PERIOD;
- (DEFAULT_VALID_TIME_PERIOD + 1);

// Submit a Price Attestation to the contract.
let vaa = create_vaa_from_payload(
Expand Down

0 comments on commit de72a97

Please sign in to comment.