Skip to content

Commit e333f00

Browse files
authored
Fix e2e_test typo (#309)
1 parent 2441454 commit e333f00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

e2e_tests/test_suites/ospolicies/ospolicies.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ func createOSPolicyAssignment(ctx context.Context, client *osconfigZonalV1alpha.
134134
return nil, fmt.Errorf("error running GetOSPolicyAssignment: %s", utils.GetStatusFromError(err))
135135
}
136136
switch ospa.GetRolloutState() {
137-
case osconfigpb.OSPolicyAssignment_IN_PROGRESS, osconfigpb.OSPolicyAssignment_CANCELLED:
137+
case osconfigpb.OSPolicyAssignment_SUCCEEDED, osconfigpb.OSPolicyAssignment_CANCELLED:
138138
return ospa, nil
139139
}
140140
time.Sleep(10 * time.Second)

0 commit comments

Comments
 (0)