changeset 580:f4579c9ec73b

fix timing
author Alain Mazy <am@osimis.io>
date Mon, 11 Sep 2023 09:09:26 +0200
parents 5d157c486568
children cbb9045e0ffa
files NewTests/Housekeeper/test_housekeeper.py NewTests/README
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/NewTests/Housekeeper/test_housekeeper.py	Mon Sep 11 09:04:17 2023 +0200
+++ b/NewTests/Housekeeper/test_housekeeper.py	Mon Sep 11 09:09:26 2023 +0200
@@ -34,6 +34,7 @@
         cls.instance_before, cls.series_before, cls.study_before, cls.patient_before = cls.get_infos()
 
         cls.kill_orthanc()
+        time.sleep(3)
 
         # generate config for orthanc-under-tests (change StorageCompression and add ExtraMainDicomTags)
         config_path = cls.generate_configuration(
--- a/NewTests/README	Mon Sep 11 09:04:17 2023 +0200
+++ b/NewTests/README	Mon Sep 11 09:09:26 2023 +0200
@@ -147,7 +147,7 @@
 
 with Docker:
 
-python3 NewTests/main.py --pattern=Authorization.test_authorization.TestAuthorization. \
+python3 NewTests/main.py --pattern=Authorization.test_authorization.TestAuthorization.* \
                          --orthanc_under_tests_docker_image=osimis/orthanc:current \
                          --orthanc_previous_version_docker_image=osimis/orthanc:22.4.0 \
                          --orthanc_under_tests_http_port=8043