Skip to content

Commit c2ed3a3

Browse files
committed
debugging test
1 parent f66d6ad commit c2ed3a3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/integration/test_client_e2e.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -953,6 +953,10 @@ def test_incorrect_file_e2e(self):
953953

954954
assert(exception_raised)
955955

956+
event = threading.Event()
957+
factory.destroy(event)
958+
event.wait()
959+
956960
def test_localhost_e2e(self):
957961
"""Instantiate a client with a YAML file and issue get_treatment() calls."""
958962
filename = os.path.join(os.path.dirname(__file__), 'files', 'file2.yaml')
@@ -1109,8 +1113,6 @@ def _update_temp_file(self, json_body):
11091113
f = open(os.path.join(os.path.dirname(__file__), 'files','split_changes_temp.json'), 'w')
11101114
f.write(json.dumps(json_body))
11111115
f.close()
1112-
# adding delay to avoid failing to load the file
1113-
time.sleep(1)
11141116

11151117
def _synchronize_now(self):
11161118
filename = os.path.join(os.path.dirname(__file__), 'files', 'split_changes_temp.json')

0 commit comments

Comments
 (0)