@@ -105,6 +105,11 @@ tests.integration(path.join(__dirname, '..'), {
105
105
await harness . stopAdapter ( ) ;
106
106
} ) ;
107
107
108
+ beforeEach ( async function ( ) {
109
+ // Wait until adapter has created all objects/states
110
+ await sleep ( 1000 ) ;
111
+ } ) ;
112
+
108
113
it ( 'enableStatistics - existing ID' , async function ( ) {
109
114
this . timeout ( 60000 ) ;
110
115
@@ -216,6 +221,11 @@ tests.integration(path.join(__dirname, '..'), {
216
221
await harness . stopAdapter ( ) ;
217
222
} ) ;
218
223
224
+ beforeEach ( async function ( ) {
225
+ // Wait until adapter has created all objects/states
226
+ await sleep ( 1000 ) ;
227
+ } ) ;
228
+
219
229
it ( 'calculation' , async function ( ) {
220
230
this . timeout ( 60000 ) ;
221
231
@@ -318,6 +328,11 @@ tests.integration(path.join(__dirname, '..'), {
318
328
await harness . stopAdapter ( ) ;
319
329
} ) ;
320
330
331
+ beforeEach ( async function ( ) {
332
+ // Wait until adapter has created all objects/states
333
+ await sleep ( 1000 ) ;
334
+ } ) ;
335
+
321
336
it ( 'calculation' , async function ( ) {
322
337
this . timeout ( 60000 ) ;
323
338
@@ -417,6 +432,11 @@ tests.integration(path.join(__dirname, '..'), {
417
432
await harness . stopAdapter ( ) ;
418
433
} ) ;
419
434
435
+ beforeEach ( async function ( ) {
436
+ // Wait until adapter has created all objects/states
437
+ await sleep ( 1000 ) ;
438
+ } ) ;
439
+
420
440
it ( 'calculation' , async function ( ) {
421
441
this . timeout ( 60000 ) ;
422
442
@@ -524,6 +544,11 @@ tests.integration(path.join(__dirname, '..'), {
524
544
await harness . stopAdapter ( ) ;
525
545
} ) ;
526
546
547
+ beforeEach ( async function ( ) {
548
+ // Wait until adapter has created all objects/states
549
+ await sleep ( 1000 ) ;
550
+ } ) ;
551
+
527
552
it ( 'calculation' , async function ( ) {
528
553
this . timeout ( 60000 ) ;
529
554
@@ -635,6 +660,11 @@ tests.integration(path.join(__dirname, '..'), {
635
660
await harness . stopAdapter ( ) ;
636
661
} ) ;
637
662
663
+ beforeEach ( async function ( ) {
664
+ // Wait until adapter has created all objects/states
665
+ await sleep ( 1000 ) ;
666
+ } ) ;
667
+
638
668
it ( 'calculation' , async function ( ) {
639
669
this . timeout ( 60000 ) ;
640
670
@@ -714,6 +744,11 @@ tests.integration(path.join(__dirname, '..'), {
714
744
await harness . stopAdapter ( ) ;
715
745
} ) ;
716
746
747
+ beforeEach ( async function ( ) {
748
+ // Wait until adapter has created all objects/states
749
+ await sleep ( 1000 ) ;
750
+ } ) ;
751
+
717
752
it ( 'calculation' , async function ( ) {
718
753
this . timeout ( 60000 ) ;
719
754
const tempId = `${ harness . adapterName } .0.temp.count.${ customBooleanObjId } ` ;
@@ -802,6 +837,11 @@ tests.integration(path.join(__dirname, '..'), {
802
837
await harness . stopAdapter ( ) ;
803
838
} ) ;
804
839
840
+ beforeEach ( async function ( ) {
841
+ // Wait until adapter has created all objects/states
842
+ await sleep ( 1000 ) ;
843
+ } ) ;
844
+
805
845
it ( 'calculation' , async function ( ) {
806
846
this . timeout ( 60000 ) ;
807
847
const tempId = `${ harness . adapterName } .0.temp.sumCount.${ customBooleanObjId } ` ;
@@ -922,6 +962,11 @@ tests.integration(path.join(__dirname, '..'), {
922
962
await harness . stopAdapter ( ) ;
923
963
} ) ;
924
964
965
+ beforeEach ( async function ( ) {
966
+ // Wait until adapter has created all objects/states
967
+ await sleep ( 1000 ) ;
968
+ } ) ;
969
+
925
970
it ( 'calculation' , async function ( ) {
926
971
this . timeout ( 60000 ) ;
927
972
0 commit comments