Skip to content

Commit

Permalink
Fix conformance test race condition (#3350)
Browse files Browse the repository at this point in the history
We had two tests that used an HTTPRoute called "http-route-4" which
caused flaky tests because the first test's delete can (and sometimes
does) happen after the second test's create, which means that the
order of operations was:

1. create http-route-4
1. run first test
1. cleanup first test - queue a delete of http-route-4
1. set up second test - what should have been a create of http-route-4 becomes an update
1. delete from first test deletes http-route-4
1. second test fails
  • Loading branch information
caboteria authored Sep 20, 2024
1 parent b5e115d commit 401eb26
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: http-route-4
name: http-route-4-port-8080
namespace: gateway-conformance-infra
spec:
parentRefs:
Expand Down

0 comments on commit 401eb26

Please sign in to comment.