fast exit dynamic test

This commit is contained in:
Anatoly Yakovenko
2018-07-16 22:22:29 -07:00
committed by Greg Fitzgerald
parent 47a22c66b4
commit 72282dc493
2 changed files with 8 additions and 0 deletions

View File

@@ -464,6 +464,9 @@ fn test_multi_node_dynamic_network() {
}
}
assert_eq!(consecutive_success, 10);
for (_, node) in validators {
node.notify_exit();
}
for (_, node) in validators {
node.close().unwrap();
}