Skip to content

Commit

Permalink
remove debug
Browse files Browse the repository at this point in the history
  • Loading branch information
pdabelf5 committed Jan 22, 2025
1 parent 90a6427 commit 42393e2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/suite/test_rl_policies.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ def test_rl_policy_jwt_claim_sub(
src,
virtual_server_setup.namespace,
)
wait_before_test(10)
wait_before_test()

policy_info = read_custom_resource(kube_apis.custom_objects, test_namespace, "policies", pol_name)
occur = []
Expand All @@ -393,17 +393,15 @@ def test_rl_policy_jwt_claim_sub(
virtual_server_setup.backend_1_url,
headers={"host": virtual_server_setup.vs_host, "Authorization": f"Bearer {token}"},
)
# wait_before_test(120)
print(resp.status_code)
wait_before_test()
assert resp.status_code == 200
while time.perf_counter() < t_end:
resp = requests.get(
virtual_server_setup.backend_1_url,
headers={"host": virtual_server_setup.vs_host, "Authorization": f"Bearer {token}"},
)
print(resp.status_code)
occur.append(resp.status_code)
wait_before_test(300)
delete_policy(kube_apis.custom_objects, pol_name, test_namespace)
self.restore_default_vs(kube_apis, virtual_server_setup)
assert (
Expand Down

0 comments on commit 42393e2

Please sign in to comment.