fix flaky test for vhost rate limiting

pull/42/head
Max Erenberg 12 months ago
parent 6e96e409be
commit 0422e4487b
  1. 4
      tests/ceod/api/test_cloud.py

@ -92,6 +92,10 @@ def test_cloud_vhosts(cfg, client, new_user, ldap_conn):
rate_limit_secs = cfg.get('cloud vhosts_rate_limit_seconds')
uid = new_user.uid
rate_limit_file = '/run/ceod/rate_limit.json'
if os.path.exists(rate_limit_file):
os.unlink(rate_limit_file)
domain1 = uid + '.' + members_domain
ip1 = '172.19.134.11'
status, _ = client.put(

Loading…
Cancel
Save