Skip to content

Commit 7e6a9e5

Browse files
committed
Increase the chance of clashes in test for arc mesage
1 parent d525141 commit 7e6a9e5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/codes_handle/iterator.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,9 +282,11 @@ mod tests {
282282
let b = barrier.clone();
283283

284284
let t = std::thread::spawn(move || {
285-
for _ in 0..1000 {
285+
for _ in 0..10 {
286286
b.wait();
287-
let _ = msg.read_key_dynamic("shortName").unwrap();
287+
for _ in 0..100 {
288+
let _ = msg.read_key_dynamic("shortName").unwrap();
289+
}
288290
}
289291
});
290292

0 commit comments

Comments
 (0)