From 34c2dcdbf6e37e623d5d7a70642384caf8eab6db Mon Sep 17 00:00:00 2001 From: Todd Short Date: Thu, 26 Oct 2023 17:27:11 -0400 Subject: [PATCH] Undo installplan_e2e_test changes Signed-off-by: Todd Short --- test/e2e/installplan_e2e_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/e2e/installplan_e2e_test.go b/test/e2e/installplan_e2e_test.go index 974841d780..10eb1745b8 100644 --- a/test/e2e/installplan_e2e_test.go +++ b/test/e2e/installplan_e2e_test.go @@ -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)