Skip to content

Commit 734aaa7

Browse files
authored
More randomness for test repo prefixes (#905)
1 parent 4e6578e commit 734aaa7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

icechunk/tests/common/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,5 +131,6 @@ pub(crate) fn make_aws_integration_storage(
131131
}
132132

133133
pub(crate) fn get_random_prefix(base: &str) -> String {
134-
format!("{}_{}", base, Utc::now().timestamp_micros())
134+
let suffix: u64 = rand::random();
135+
format!("{}_{}_{}", base, Utc::now().timestamp_micros(), suffix)
135136
}

0 commit comments

Comments
 (0)