Skip to content

Commit cfebb2d

Browse files
committed
Depending on the testrunner, it can take longer to verify batch
1 parent 83b0700 commit cfebb2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

zebra-consensus/src/verify/redjubjub.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ mod tests {
137137
// Use a very long max_latency and a short timeout to check that
138138
// flushing is happening based on hitting max_items.
139139
let verifier = Batch::new(RedJubjubVerifier::new(), 10, Duration::from_secs(1000));
140-
timeout(Duration::from_secs(2), sign_and_verify(verifier, 100)).await?
140+
timeout(Duration::from_secs(5), sign_and_verify(verifier, 100)).await?
141141
}
142142

143143
#[tokio::test]
@@ -148,6 +148,6 @@ mod tests {
148148
// Use a very high max_items and a short timeout to check that
149149
// flushing is happening based on hitting max_latency.
150150
let verifier = Batch::new(RedJubjubVerifier::new(), 100, Duration::from_millis(500));
151-
timeout(Duration::from_secs(2), sign_and_verify(verifier, 10)).await?
151+
timeout(Duration::from_secs(5), sign_and_verify(verifier, 10)).await?
152152
}
153153
}

0 commit comments

Comments
 (0)