@@ -206,18 +206,17 @@ public void testArrayOpenAt() throws Exception {
206
206
207
207
long [] array_a = new long [] {1 , 2 , 3 , 6 };
208
208
insertArbitraryValues (new NativeArray (ctx , array_a , Long .class ));
209
- long ts_a = System .currentTimeMillis ();
210
-
211
209
Thread .sleep (2000 );
210
+ long ts_a = System .currentTimeMillis ();
212
211
213
212
long [] array_b = new long [] {1 , 1 , 1 , 1 };
214
213
insertArbitraryValues (new NativeArray (ctx , array_b , Long .class ));
215
- long ts_b = System .currentTimeMillis ();
216
-
217
214
Thread .sleep (2000 );
215
+ long ts_b = System .currentTimeMillis ();
218
216
219
217
long [] array_c = new long [] {0 , 0 , 0 , 0 };
220
218
insertArbitraryValues (new NativeArray (ctx , array_c , Long .class ));
219
+ Thread .sleep (2000 );
221
220
long ts_c = System .currentTimeMillis ();
222
221
223
222
Assert .assertArrayEquals (array_a , readArrayAt (BigInteger .valueOf (ts_a )));
@@ -231,18 +230,17 @@ public void testArrayOpenAtEncrypted() throws Exception {
231
230
232
231
long [] array_a = new long [] {1 , 2 , 3 , 6 };
233
232
insertArbitraryValuesEncrypted (new NativeArray (ctx , array_a , Long .class ));
234
- long ts_a = System .currentTimeMillis ();
235
-
236
233
Thread .sleep (2000 );
234
+ long ts_a = System .currentTimeMillis ();
237
235
238
236
long [] array_b = new long [] {1 , 1 , 1 , 1 };
239
237
insertArbitraryValuesEncrypted (new NativeArray (ctx , array_b , Long .class ));
240
- long ts_b = System .currentTimeMillis ();
241
-
242
238
Thread .sleep (2000 );
239
+ long ts_b = System .currentTimeMillis ();
243
240
244
241
long [] array_c = new long [] {0 , 0 , 0 , 0 };
245
242
insertArbitraryValuesEncrypted (new NativeArray (ctx , array_c , Long .class ));
243
+ Thread .sleep (2000 );
246
244
long ts_c = System .currentTimeMillis ();
247
245
248
246
Assert .assertArrayEquals (array_a , readArrayAtEncrypted (BigInteger .valueOf (ts_a )));
0 commit comments