pgreco / rpms / cockpit

Forked from forks/areguera/rpms/cockpit 4 years ago
Clone

Blame SOURCES/0015-test-Fix-docker-storage-tests.patch

ce15b8
From 6404940c47114a46a4ab42b6326dfa3bc0d4f504 Mon Sep 17 00:00:00 2001
2587cc
From: Dominik Perpeet <dperpeet@redhat.com>
2587cc
Date: Wed, 26 Apr 2017 08:09:52 +0200
ce15b8
Subject: [PATCH 15/23] test: Fix docker storage tests
2587cc
2587cc
Original commits
2587cc
06c376a6848fc1418425ea8702e229941dca1c3e
2587cc
  test: Remove exception for centos-7 in docker storage test
2587cc
b6ba436f7e35b7a392bb121236559f65a1df6d12
2587cc
  test: Fix race using docker page before its visible
2587cc
2587cc
Closes #7025
2587cc
Reviewed-by: Stef Walter <stefw@redhat.com>
2587cc
---
2587cc
 test/verify/check-docker-storage | 3 ++-
2587cc
 1 file changed, 2 insertions(+), 1 deletion(-)
2587cc
2587cc
diff --git a/test/verify/check-docker-storage b/test/verify/check-docker-storage
2587cc
index 37f2da7..bc15609 100755
2587cc
--- a/test/verify/check-docker-storage
2587cc
+++ b/test/verify/check-docker-storage
2587cc
@@ -66,7 +66,7 @@ def initially_loopbacked(machine):
2587cc
 # device is added.
2587cc
 #
2587cc
 def initially_without_vgroup(machine):
2587cc
-    return machine.image in [ "fedora-24", "rhel-7", "centos-7" ]
2587cc
+    return machine.image in [ "fedora-24", "rhel-7" ]
2587cc
 
2587cc
 @skipImage("No cockpit-docker on i386", "fedora-i386")
2587cc
 class TestDockerStorage(MachineCase):
2587cc
@@ -170,6 +170,7 @@ class TestDockerStorage(MachineCase):
2587cc
         # Add a disk
2587cc
 
2587cc
         m.add_disk("100M", serial="DISK1")
2587cc
+        b.wait_visible("#storage-drives")
2587cc
         b.wait_in_text("#storage-drives", "DISK1")
2587cc
 
2587cc
         b.click("#storage-drives tr:contains(DISK1)")
2587cc
-- 
ce15b8
2.13.5
2587cc