Skip to content

Commit c3b6982

Browse files
committed
Give TestCompositionFunctions a touch more time
30 seconds seems mostly okay, but sometimes it's taking ~45 in CI. Signed-off-by: Nic Cope <[email protected]>
1 parent 2f50071 commit c3b6982

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/e2e/apiextensions_test.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,12 @@ func TestCompositionFunctions(t *testing.T) {
211211
funcs.ApplyResources(FieldManager, manifests, "claim.yaml"),
212212
funcs.ResourcesCreatedWithin(30*time.Second, manifests, "claim.yaml"),
213213
)).
214+
// TODO(negz): This Assess consistently takes ~2 seconds
215+
// on my M1 Max MacBook, but sometimes exceeds 30
216+
// seconds in CI, even with larger runners. Perhaps
217+
// slower I/O in CI?
214218
Assess("ClaimIsReady",
215-
funcs.ResourcesHaveConditionWithin(30*time.Second, manifests, "claim.yaml", xpv1.Available())).
219+
funcs.ResourcesHaveConditionWithin(60*time.Second, manifests, "claim.yaml", xpv1.Available())).
216220
Assess("ClaimHasPatchedField",
217221
funcs.ResourcesHaveFieldValueWithin(30*time.Second, manifests, "claim.yaml", "status.coolerField", "I'M COOLER!"),
218222
).

0 commit comments

Comments
 (0)