PSM interop: add retries on k8s API 504 Gateway Timeout (#32714)

ref b/258546394
pull/32766/head
Sergii Tkachenko 2 years ago committed by GitHub
parent a4af6250d8
commit 8f012ae13b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      tools/run_tests/xds_k8s_test_driver/framework/infrastructure/k8s.py

@ -276,6 +276,11 @@ class KubernetesNamespace: # pylint: disable=too-many-public-methods
# resumes normal operation.
return _quick_recovery_retryer()
# 504 Gateway Timeout:
# "Timeout: request did not complete within the allotted timeout"
if code == 504:
return _server_restart_retryer()
return None
@classmethod

Loading…
Cancel
Save