Skip to content

Commit

Permalink
chore: test_misc: removed unnecessary sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
jstucke committed Dec 3, 2024
1 parent 48fcfd9 commit e0fbbba
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/test/acceptance/test_misc.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import json
import time
from urllib.parse import quote

import pytest
Expand Down Expand Up @@ -110,12 +109,11 @@ def test_misc(
for fw in [test_fw_a, test_fw_c]:
self._upload_firmware_put(test_client, fw.path, fw.name, fw.uid)
self._show_about(test_client)
time.sleep(4)
assert analysis_finished_event.wait(timeout=10)
workload_statistic.update(
unpacking_workload=unpacking_scheduler.get_scheduled_workload(),
analysis_workload=analysis_scheduler.get_scheduled_workload(),
)
assert analysis_finished_event.wait(timeout=10)
self._show_system_monitor(test_client)

stats_updater.update_all_stats()
Expand Down

0 comments on commit e0fbbba

Please sign in to comment.