Skip to content

Commit

Permalink
Gamma tests: redistribute startTestClient wait times
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiitk committed Jan 24, 2024
1 parent 62c8a9e commit fe0397c
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions framework/xds_gamma_testcase.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,15 @@ def startTestClient(
# test suites because they only start waiting after already waited for
# the TD backends to be created and report healthy.
# In GAMMA, these resources are created asynchronously by Kubernetes.
# To compensate for this, we double the timeout for GAMMA tests.
# To compensate for this, we double the timeout for the active ADS
# stream detection in GAMMA tests. Until the mesh is created,
# ADS calls are rejected with "NOT_FOUND: Requested entity was
# not found."
return self._start_test_client(
server_target,
wait_for_server_channel_ready_timeout=datetime.timedelta(
minutes=10
),
wait_for_active_ads_timeout=datetime.timedelta(minutes=10),
# TODO(sergiitk): consider decreasing to 2-3 minutes, since
# the majority of the wait time spent on waiting ADS.
wait_for_server_channel_ready_timeout=datetime.timedelta(minutes=5),
**kwargs,
)

0 comments on commit fe0397c

Please sign in to comment.