daotrunghieu / rpms / cockpit

Forked from rpms/cockpit 5 years ago
Clone
Blob Blame History Raw
From 405d8a8c1400f9b8f1630bd6f148a52d18070c57 Mon Sep 17 00:00:00 2001
From: Dominik Perpeet <dperpeet@redhat.com>
Date: Wed, 26 Apr 2017 08:09:52 +0200
Subject: [PATCH 15/16] test: Fix docker storage tests

Original commits
06c376a6848fc1418425ea8702e229941dca1c3e
  test: Remove exception for centos-7 in docker storage test
b6ba436f7e35b7a392bb121236559f65a1df6d12
  test: Fix race using docker page before its visible

Closes #7025
Reviewed-by: Stef Walter <stefw@redhat.com>
---
 test/verify/check-docker-storage | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/verify/check-docker-storage b/test/verify/check-docker-storage
index 37f2da7..bc15609 100755
--- a/test/verify/check-docker-storage
+++ b/test/verify/check-docker-storage
@@ -66,7 +66,7 @@ def initially_loopbacked(machine):
 # device is added.
 #
 def initially_without_vgroup(machine):
-    return machine.image in [ "fedora-24", "rhel-7", "centos-7" ]
+    return machine.image in [ "fedora-24", "rhel-7" ]
 
 @skipImage("No cockpit-docker on i386", "fedora-i386")
 class TestDockerStorage(MachineCase):
@@ -170,6 +170,7 @@ class TestDockerStorage(MachineCase):
         # Add a disk
 
         m.add_disk("100M", serial="DISK1")
+        b.wait_visible("#storage-drives")
         b.wait_in_text("#storage-drives", "DISK1")
 
         b.click("#storage-drives tr:contains(DISK1)")
-- 
2.9.4