Skip to content

Commit 3d59936

Browse files
committed
Make not_before earlier in tests to make tests less flaky.
1 parent d08ddbc commit 3d59936

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/daphne-server/tests/e2e/test_runner.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ impl TestRunner {
112112
version,
113113
leader_url: leader_url.clone(),
114114
helper_url: helper_url.clone(),
115-
not_before: now,
115+
not_before: now - (now % TIME_PRECISION) - 1,
116116
not_after: now + 604_800, // one week from now
117117
time_precision: TIME_PRECISION,
118118
min_batch_size: MIN_BATCH_SIZE,

0 commit comments

Comments
 (0)