Reduce time needed for stress test.

This commit is contained in:
Gav Wood 2015-12-02 15:04:34 +01:00
parent 65d49f280c
commit c184758972

View File

@ -656,7 +656,7 @@ mod tests {
#[test] #[test]
fn stress() { fn stress() {
for _ in 0..10000 { for _ in 0..5000 {
let mut x: Vec<(Vec<u8>, Vec<u8>)> = Vec::new(); let mut x: Vec<(Vec<u8>, Vec<u8>)> = Vec::new();
for j in 0..4u32 { for j in 0..4u32 {
let key = random_key(); let key = random_key();