Skip to content

Commit

Permalink
changed sleep from 2 to 5 to prevent failure on ldap latency in testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ericbsd committed Dec 4, 2020
1 parent 8fb5160 commit 087c692
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/api2/ldap.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def test_15_starting_cifs_service():
payload = {"service": "cifs"}
results = POST("/service/restart/", payload)
assert results.status_code == 200, results.text
time.sleep(2)
time.sleep(5)


def test_16_verify_if_cifs_service_is_running():
Expand Down Expand Up @@ -196,7 +196,7 @@ def test_22_restarting_cifs_service_after_changing_has_samba_schema():
payload = {"service": "cifs"}
results = POST("/service/restart/", payload)
assert results.status_code == 200, results.text
time.sleep(2)
time.sleep(5)


def test_23_verify_that_the_ldap_user_is_not_listed_with_pdbedit():
Expand All @@ -223,7 +223,7 @@ def test_26_starting_cifs_service_after_changing_ssl_to_START_TLS():
payload = {"service": "cifs"}
results = POST("/service/restart/", payload)
assert results.status_code == 200, results.text
time.sleep(2)
time.sleep(5)


def test_27_verify_if_cifs_service_is_running():
Expand Down

0 comments on commit 087c692

Please sign in to comment.