From 872e6156343a8214fbddb57f56409fffe3424bca Mon Sep 17 00:00:00 2001 From: Pavel Simovec Date: Fri, 18 Sep 2020 19:03:04 +0200 Subject: [PATCH] automate TestArchiveContains::HostsSubnet,MachineSet,SnapshotsCRD --- test/integration/bugs_test.go | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/test/integration/bugs_test.go b/test/integration/bugs_test.go index 225e764ca..3e63361a2 100644 --- a/test/integration/bugs_test.go +++ b/test/integration/bugs_test.go @@ -192,7 +192,25 @@ func TestArchiveContains(t *testing.T) { t.Run("ImageRegistry", genLatestArchiveCheckPattern( "image registry", matchingFileExists, - `^config/imageregistry.json$`)) + `^config/imageregistry\.json$`)) + + //https://bugzilla.redhat.com/show_bug.cgi?id=1879068 + t.Run("HostsSubnet", + genLatestArchiveCheckPattern( + "hosts subnet", matchingFileExists, + `^config/hostsubnet/ip-.*\.json$`)) + + //https://bugzilla.redhat.com/show_bug.cgi?id=1881816 + t.Run("MachineSet", + genLatestArchiveCheckPattern( + "machine set", matchingFileExists, + `^machinesets/.*\.json$`)) + + //https://bugzilla.redhat.com/show_bug.cgi?id=1873101 + t.Run("SnapshotsCRD", + genLatestArchiveCheckPattern( + "snapshots CRD", matchingFileExists, + `^config/crd/volumesnapshots\.snapshot\.storage\.k8s\.io\.json$`)) defer ChangeReportTimeInterval(t, 1)() defer degradeOperatorMonitoring(t)() @@ -209,7 +227,7 @@ func TestArchiveContains(t *testing.T) { t.Run("Event", genLatestArchiveCheckPattern( "event", matchingFileExists, - `^events/openshift-monitoring.json$`)) + `^events/openshift-monitoring\.json$`)) //https://bugzilla.redhat.com/show_bug.cgi?id=1840012 t.Run("FileExtensions",