Skip to content

Commit

Permalink
test: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
alaeddine-13 committed Dec 16, 2022
1 parent 1517368 commit 774ba86
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/k8s/test_k8s.py
Original file line number Diff line number Diff line change
Expand Up @@ -1282,7 +1282,10 @@ async def test_flow_multiple_protocols_gateway(
import requests

resp = requests.get(f'http://localhost:{http_port}').json()
assert resp['protocol'] == 'http'
assert resp in [
{'protocol': 'http'},
{},
] # first one for the custom gateway implementation, the second is for the built-in multiprotocol gateway

# test portforwarding the gateway pod and service using grpc
forward_args = [
Expand Down

0 comments on commit 774ba86

Please sign in to comment.