Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions api/v1alpha1/function_lifecycle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ func TestCalculateReadyCondition(t *testing.T) {
readyCondition := meta.FindStatusCondition(f.Status.Conditions, TypeReady)
if readyCondition == nil {
t.Fatal("Ready condition not found")
return
}

if readyCondition.Status != tt.expectedStatus {
Expand Down Expand Up @@ -149,6 +150,7 @@ func TestInitializeConditions(t *testing.T) {
readyCond := meta.FindStatusCondition(f.Status.Conditions, TypeReady)
if readyCond == nil {
t.Fatal("Ready condition not found")
return
}
if readyCond.Status != metav1.ConditionUnknown {
t.Errorf("Ready condition: expected status Unknown, got %v", readyCond.Status)
Expand Down
Loading