[gnome-boxes] tests: Add 5 seconds sleep after snapshot revert
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] tests: Add 5 seconds sleep after snapshot revert
- Date: Wed, 18 Feb 2015 18:36:54 +0000 (UTC)
commit 6a341328fca960a4dc3f7c2ead65bdde3835a24d
Author: Vladimir Benes <benesv email cz>
Date: Wed Feb 18 17:35:54 2015 +0100
tests: Add 5 seconds sleep after snapshot revert
Time it takes to revert VMs to snapshots varies a lot so lets wait at
least 5 seconds before checking for the process to have finished.
https://bugzilla.gnome.org/show_bug.cgi?id=744703
tests/snapshots.feature | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tests/snapshots.feature b/tests/snapshots.feature
index 7425dfa..01a9494 100644
--- a/tests/snapshots.feature
+++ b/tests/snapshots.feature
@@ -17,9 +17,11 @@ Feature: Snapshots
When "network down" is visible with command "virsh snapshot-current boxes-unknown |grep description"
When Cannot ping "Core-5"
* Revert machine "Core-5" to state "working network"
+ * Wait for "sleep 5" end
When "working network" is visible with command "virsh snapshot-current boxes-unknown |grep description"
When Ping "Core-5"
* Revert machine "Core-5" to state "network down"
+ * Wait for "sleep 5" end
Then Cannot ping "Core-5"
@delete_snapshots
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]