Skip to content

Commit

Permalink
Wait before assertion in weight changes dynamic reload test (#5302)
Browse files Browse the repository at this point in the history
* wait before test

* move assertion before request
  • Loading branch information
j1m-ryan authored Mar 22, 2024
1 parent 69e7d68 commit 6de2c8e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ def test_vsr_weight_changes_dynamic_reload_many_splits(
print("Step 3: Verify hitting the other backend.")
ensure_response_from_backend(backends32_url, vsr_weight_changes_dynamic_reload_many_splits_setup.vs_host)
wait_and_assert_status_code(200, backends32_url, vsr_weight_changes_dynamic_reload_many_splits_setup.vs_host)
wait_before_test(1)
resp = requests.get(
backends32_url,
headers={"host": vsr_weight_changes_dynamic_reload_many_splits_setup.vs_host},
Expand Down

0 comments on commit 6de2c8e

Please sign in to comment.