We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14d9fdd commit 5193dafCopy full SHA for 5193daf
scylla/tests/integration/statement.rs
@@ -259,7 +259,7 @@ async fn test_timestamp_generator() {
259
260
impl TimestampGenerator for LocalTimestampGenerator {
261
fn next_timestamp(&self) -> i64 {
262
- let timestamp = random::<i64>().abs();
+ let timestamp = (random::<u64>() as i64).abs();
263
self.generated_timestamps.lock().unwrap().insert(timestamp);
264
timestamp
265
}
0 commit comments