From 8be80aca803b46c4e6f326b8e14ba019b274b00d Mon Sep 17 00:00:00 2001 From: Sebastien Boeuf Date: Mon, 13 Jul 2020 11:45:07 +0200 Subject: [PATCH] ci: Give some time to the disk hotplug Under high load, the VM might take some time to hotplug the disk after the hotplug command has been issued. For this reason, let's put a 10s sleep before checking for the presence of the new disk. Signed-off-by: Sebastien Boeuf --- tests/integration.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/integration.rs b/tests/integration.rs index cf3ea1f56..488648167 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -4262,6 +4262,8 @@ mod tests { .contains("{\"id\":\"test0\",\"bdf\":\"0000:00:06.0\"}") ); + thread::sleep(std::time::Duration::new(10, 0)); + // Check that if /dev/vdc exists and the block size is 16M. aver_eq!( tb,