Skip to content

Commit

Permalink
remove hardcoded duration
Browse files Browse the repository at this point in the history
  • Loading branch information
andymck committed Feb 22, 2024
1 parent 20ed238 commit e1cb11f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iot_verifier/tests/runner_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1043,11 +1043,11 @@ async fn valid_beacon_and_no_witnesses(pool: PgPool) -> anyhow::Result<()> {

let beacon_to_inject = common::create_valid_beacon_report(
common::BEACONER1,
ctx.entropy_ts + ChronoDuration::seconds(5),
ctx.entropy_ts + test_beacon_interval,
);
let witness_to_inject = common::create_valid_witness_report(
common::WITNESS1,
ctx.entropy_ts + ChronoDuration::seconds(5),
ctx.entropy_ts + test_beacon_interval,
);
common::inject_beacon_report(pool.clone(), beacon_to_inject.clone()).await?;
common::inject_witness_report(pool.clone(), witness_to_inject.clone()).await?;
Expand Down

0 comments on commit e1cb11f

Please sign in to comment.