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 Nov 14, 2024
1 parent dd23cac commit 131bb6b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/test/acceptance/test_misc.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import json
import os
import time
from urllib.parse import quote

import pytest
Expand Down Expand Up @@ -93,7 +92,6 @@ def _add_comment(self, test_client):
)

@pytest.mark.SchedulerTestConfig(
# fmt: off
# two firmware container with 3 included files each times two mandatory plugins
items_to_analyze=4 * 2 * 2,
)
Expand All @@ -111,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 131bb6b

Please sign in to comment.