Skip to content

Commit de72a97

Browse files
authored
Merge pull request #2363 from pyth-network/devin/1739108797-update-stale-threshold-test
test: update stale threshold test to subtract one more second
2 parents 6e1bcd1 + 2db3fbb commit de72a97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

target_chains/near/receiver/tests/workspaces.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ async fn test_stale_threshold() {
300300
.duration_since(std::time::UNIX_EPOCH)
301301
.expect("Failed to get UNIX timestamp")
302302
.as_secs()
303-
- DEFAULT_VALID_TIME_PERIOD;
303+
- (DEFAULT_VALID_TIME_PERIOD + 1);
304304

305305
// Submit a Price Attestation to the contract.
306306
let vaa = create_vaa_from_payload(

0 commit comments

Comments
 (0)