Skip to content

Commit b320739

Browse files
committed
only test gateway api timeout field in experimental channel
Signed-off-by: Alex Leong <[email protected]>
1 parent 4921f36 commit b320739

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ jobs:
164164
include:
165165
- k8s: v1.23
166166
gateway-api:
167-
version: v1.2.0
167+
version: v1.1.1
168168
channel: standard
169169
env:
170170
GATEWAY_API_VERSION: ${{ matrix.gateway-api.version }}

policy-test/tests/outbound_api_http.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -775,6 +775,8 @@ async fn http_route_linkerd_timeouts() {
775775
test::<policy::EgressNetwork>().await;
776776
}
777777

778+
// The timeout field on HTTPRoute is only available in Gateway API v1.2+.
779+
#[cfg(feature = "gateway-api-experimental")]
778780
#[tokio::test(flavor = "current_thread")]
779781
async fn http_route_gateway_timeouts() {
780782
async fn test<P: TestParent>() {

0 commit comments

Comments
 (0)