Skip to content

Commit 2db3fbb

Browse files
devin-ai-integration[bot]Jayant Krishnamurthy
andcommitted
test: update stale threshold test to subtract one more second
Co-Authored-By: Jayant Krishnamurthy <[email protected]>
1 parent 6e1bcd1 commit 2db3fbb

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)