pgreco / rpms / cockpit

Forked from forks/areguera/rpms/cockpit 5 years ago
Clone
Blob Blame History Raw
From 6404940c47114a46a4ab42b6326dfa3bc0d4f504 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/23] 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.13.5