Skip to content

Commit

Permalink
test with long sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
backmari committed Aug 30, 2024
1 parent 2de128e commit a3ea27a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_autoreducer_high_memory.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def test_normal_reduction_queue(self, db_connection, request_page):
assert response.url.endswith("/report/vulcan/12345/")

# wait for database to get updated
time.sleep(1.0)
time.sleep(30.0)

assert db_utils.check_run_status_exist(db_connection, run_id, "REDUCTION.REQUEST")
assert db_utils.check_run_status_exist(db_connection, run_id, "REDUCTION.STARTED")
Expand All @@ -101,7 +101,7 @@ def test_himem_reduction_queue(self, db_connection, request_page):
assert response.url.endswith("/report/vulcan/12345/")

# wait for database to get updated
time.sleep(1.0)
time.sleep(30.0)

assert db_utils.check_run_status_exist(db_connection, run_id, "REDUCTION.REQUEST")
assert db_utils.check_run_status_exist(db_connection, run_id, "REDUCTION.STARTED")
Expand Down

0 comments on commit a3ea27a

Please sign in to comment.