Salome HOME
Fix SDS non regression test. Tested 30 times on integration machine.
authorAnthony Geay <anthony.geay@edf.fr>
Tue, 7 Sep 2021 11:15:53 +0000 (13:15 +0200)
committerAnthony Geay <anthony.geay@edf.fr>
Tue, 7 Sep 2021 11:15:53 +0000 (13:15 +0200)
src/SALOMESDS/TestSalomeSDS.py

index 2c4c27dc32ed905d1adc75c3803650c2886da490..526b6d8049ff812b26dc1b7243e527058f98619e 100644 (file)
@@ -77,9 +77,9 @@ def func_test7(scopeName,cv,cv2,cv3,sharedNum):
     ####### End Barrier
     s=datetime.now()
     t0=dss.createRdWrVarTransac(varName,obj2Str(zeValue))
+    dss.atomicApply([t0])
     s=(datetime.now()-s).total_seconds()
     assert(s>=0.99*nbOfSecWait and s<nbOfSecWait*1.01) # expect to wait nearly nbOfSecWait seconds
-    dss.atomicApply([t0])
     ######### end of micro-test1
     ######### micro-test2 - after activeRequests everything work well
     s=datetime.now()