Skip to content

Commit

Permalink
Merge pull request #182 from psimovec/hostsubnet_files_in_archive
Browse files Browse the repository at this point in the history
Bug 1882858: Automate TestArchiveContains::HostsSubnet & 2 more
  • Loading branch information
openshift-merge-robot committed Sep 28, 2020
2 parents b889737 + 872e615 commit 00d2844
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions test/integration/bugs_test.go
Expand Up @@ -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)()
Expand All @@ -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",
Expand Down

0 comments on commit 00d2844

Please sign in to comment.