changeset 343:203af01474b6 Orthanc-1.8.0

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 16 Oct 2020 09:08:56 +0200
parents bf8369ea3ff1
children c55f2e4a0cce
files Plugins/WebDav/Run.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/WebDav/Run.py	Thu Oct 15 17:34:01 2020 +0200
+++ b/Plugins/WebDav/Run.py	Fri Oct 16 09:08:56 2020 +0200
@@ -174,6 +174,7 @@
 
         while len(ListFiles('/webdav/uploads/', True)) > 1:
             time.sleep(0.1)
+        time.sleep(0.1)  # Give some more delay to be sure that the store has succeeded (necessary for Wine)
         
         instances = DoGet(ORTHANC, '/instances?expand')
         self.assertEqual(1, len(instances))
@@ -199,6 +200,7 @@
         
         while len(ListFiles('/webdav/uploads/', True)) > 1:
             time.sleep(0.1)
+        time.sleep(0.1)  # Give some more delay to be sure that the store has succeeded (necessary for Wine)
         
         self.assertEqual(2, len(DoGet(ORTHANC, '/instances')))