Skip to content

Commit 8ecc5dd

Browse files
committed
Add more context to the error log
1 parent e8034a3 commit 8ecc5dd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

conformance/utils/kubernetes/helpers.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,8 @@ func GatewayListenersMustHaveConditions(t *testing.T, client client.Client, time
397397
return true, nil
398398
})
399399

400-
require.NoErrorf(t, waitErr, "error waiting for Gateway status to have a Condition matching expectations on all listeners")
400+
require.NoErrorf(t, waitErr, "error waiting for Gateway status to have the %s condition set to %s on all listeners",
401+
condition.Type, condition.Status)
401402
}(condition)
402403
}
403404

0 commit comments

Comments
 (0)