Skip to content

Commit 662248a

Browse files
committed
more event emitting for CSV phase transitions
1 parent cf1eb58 commit 662248a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/e2e/csv_e2e_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1508,9 +1508,9 @@ func TestUpdateCSVWithOwnedAPIService(t *testing.T) {
15081508
require.NoError(t, err)
15091509
defer cleanupCSV()
15101510

1511-
fetched, err := fetchCSV(t, crc, csv.Name, testNamespace, csvFailedChecker)
1511+
fetched, err := fetchCSV(t, crc, csv.Name, testNamespace, buildCSVReasonChecker(v1alpha1.CSVReasonOwnerConflict))
15121512
require.NoError(t, err)
1513-
require.Equal(t, string(fetched.Status.Reason), string(v1alpha1.CSVReasonOwnerConflict))
1513+
require.Equal(t, string(v1alpha1.CSVPhaseFailed), string(fetched.Status.Phase))
15141514
}
15151515

15161516
func TestCreateSameCSVWithOwnedAPIServiceMultiNamespace(t *testing.T) {

0 commit comments

Comments
 (0)