@@ -65,7 +65,7 @@ func verifyOperatorDeploymentExists(t *testing.T) {
6565
6666// TestOLMToNonOLMSwitch tests switching from OLM operator to non-OLM operator
6767func TestOLMToNonOLMSwitch (t * testing.T ) {
68- dumpClusterOnFailure (t )
68+ dumpClusterStateOnFailure (t )
6969
7070 if os .Getenv ("SKIP_OLM_TESTS" ) != "" {
7171 t .Skip ("SKIP_OLM_TESTS is set" )
@@ -115,7 +115,7 @@ func TestOLMToNonOLMSwitch(t *testing.T) {
115115
116116// TestNonOLMToOLMSwitch tests switching from non-OLM operator to OLM operator
117117func TestNonOLMToOLMSwitch (t * testing.T ) {
118- dumpClusterOnFailure (t )
118+ dumpClusterStateOnFailure (t )
119119
120120 if os .Getenv ("SKIP_OLM_TESTS" ) != "" {
121121 t .Skip ("SKIP_OLM_TESTS is set" )
@@ -165,7 +165,7 @@ func TestNonOLMToOLMSwitch(t *testing.T) {
165165
166166// TestOLMOperatorVersionUpgrade tests that OLM operator version mismatches trigger teardown and redeploy
167167func TestOLMOperatorVersionUpgrade (t * testing.T ) {
168- dumpClusterOnFailure (t )
168+ dumpClusterStateOnFailure (t )
169169
170170 if os .Getenv ("SKIP_OLM_TESTS" ) != "" {
171171 t .Skip ("SKIP_OLM_TESTS is set" )
@@ -229,7 +229,7 @@ func TestOLMOperatorVersionUpgrade(t *testing.T) {
229229
230230// TestSecuredClusterWithOLMSwitch tests that secured-cluster deployment also respects OLM mode switches
231231func TestSecuredClusterWithOLMSwitch (t * testing.T ) {
232- dumpClusterOnFailure (t )
232+ dumpClusterStateOnFailure (t )
233233
234234 if os .Getenv ("SKIP_OLM_TESTS" ) != "" {
235235 t .Skip ("SKIP_OLM_TESTS is set" )
0 commit comments