Skip to content

Commit

Permalink
increase delay
Browse files Browse the repository at this point in the history
  • Loading branch information
xlc committed Jul 9, 2023
1 parent cfbcfc7 commit 2925f0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/auction-manager/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ fn run_to_block_offchain(n: u64) {
System::set_block_number(System::block_number() + 1);
AuctionManagerModule::offchain_worker(System::block_number());
// this unlocks the concurrency storage lock so offchain_worker will fire next block
offchain::sleep_until(offchain::timestamp().add(Duration::from_millis(LOCK_DURATION + 1000)));
offchain::sleep_until(offchain::timestamp().add(Duration::from_millis(LOCK_DURATION + 10000)));
}
}

Expand Down

0 comments on commit 2925f0b

Please sign in to comment.