Skip to content

Commit

Permalink
Undo installplan_e2e_test changes
Browse files Browse the repository at this point in the history
Signed-off-by: Todd Short <[email protected]>
  • Loading branch information
tmshort committed Oct 26, 2023
1 parent 62950df commit 34c2dcd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/e2e/installplan_e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2934,14 +2934,15 @@ var _ = Describe("Install Plan", func() {
}
}()
GinkgoT().Logf("Deleting CSV '%v' in namespace %v", stableCSVName, generatedNamespace.GetName())
require.NoError(GinkgoT(), crc.OperatorsV1alpha1().ClusterServiceVersions(generatedNamespace.GetName()).Delete(context.Background(), stableCSVName, metav1.DeleteOptions{}))
//require.NoError(GinkgoT(), crc.OperatorsV1alpha1().ClusterServiceVersions(generatedNamespace.GetName()).Delete(context.Background(), stableCSVName, metav1.DeleteOptions{}))
require.NoError(GinkgoT(), crc.OperatorsV1alpha1().ClusterServiceVersions(generatedNamespace.GetName()).DeleteCollection(context.Background(), metav1.DeleteOptions{}, metav1.ListOptions{}))
select {
case <-done:
break
case err := <-errExit:
GinkgoT().Fatal(err)
}
require.NoError(GinkgoT(), waitForCsvToDelete(generatedNamespace.GetName(), crc, stableCSVName))
//require.NoError(GinkgoT(), waitForCsvToDelete(generatedNamespace.GetName(), crc, stableCSVName))

require.Emptyf(GinkgoT(), createdClusterRoleNames, "unexpected cluster role remain: %v", createdClusterRoleNames)
require.Emptyf(GinkgoT(), createdClusterRoleBindingNames, "unexpected cluster role binding remain: %v", createdClusterRoleBindingNames)
Expand Down

0 comments on commit 34c2dcd

Please sign in to comment.