@@ -206,19 +206,19 @@ public void testArrayOpenAt() throws Exception {
206206
207207 long [] array_a = new long [] {1 , 2 , 3 , 6 };
208208 insertArbitraryValues (new NativeArray (ctx , array_a , Long .class ));
209- long ts_a = new Timestamp ( System .currentTimeMillis ()). toInstant (). toEpochMilli ();
209+ long ts_a = System .currentTimeMillis ();
210210
211211 Thread .sleep (2000 );
212212
213213 long [] array_b = new long [] {1 , 1 , 1 , 1 };
214214 insertArbitraryValues (new NativeArray (ctx , array_b , Long .class ));
215- long ts_b = new Timestamp ( System .currentTimeMillis ()). toInstant (). toEpochMilli ();
215+ long ts_b = System .currentTimeMillis ();
216216
217217 Thread .sleep (2000 );
218218
219219 long [] array_c = new long [] {0 , 0 , 0 , 0 };
220220 insertArbitraryValues (new NativeArray (ctx , array_c , Long .class ));
221- long ts_c = new Timestamp ( System .currentTimeMillis ()). toInstant (). toEpochMilli ();
221+ long ts_c = System .currentTimeMillis ();
222222
223223 Assert .assertArrayEquals (array_a , readArrayAt (BigInteger .valueOf (ts_a )));
224224 Assert .assertArrayEquals (array_b , readArrayAt (BigInteger .valueOf (ts_b )));
@@ -231,19 +231,19 @@ public void testArrayOpenAtEncrypted() throws Exception {
231231
232232 long [] array_a = new long [] {1 , 2 , 3 , 6 };
233233 insertArbitraryValuesEncrypted (new NativeArray (ctx , array_a , Long .class ));
234- long ts_a = new Timestamp ( System .currentTimeMillis ()). toInstant (). toEpochMilli ();
234+ long ts_a = System .currentTimeMillis ();
235235
236236 Thread .sleep (2000 );
237237
238238 long [] array_b = new long [] {1 , 1 , 1 , 1 };
239239 insertArbitraryValuesEncrypted (new NativeArray (ctx , array_b , Long .class ));
240- long ts_b = new Timestamp ( System .currentTimeMillis ()). toInstant (). toEpochMilli ();
240+ long ts_b = System .currentTimeMillis ();
241241
242242 Thread .sleep (2000 );
243243
244244 long [] array_c = new long [] {0 , 0 , 0 , 0 };
245245 insertArbitraryValuesEncrypted (new NativeArray (ctx , array_c , Long .class ));
246- long ts_c = new Timestamp ( System .currentTimeMillis ()). toInstant (). toEpochMilli ();
246+ long ts_c = System .currentTimeMillis ();
247247
248248 Assert .assertArrayEquals (array_a , readArrayAtEncrypted (BigInteger .valueOf (ts_a )));
249249 Assert .assertArrayEquals (array_b , readArrayAtEncrypted (BigInteger .valueOf (ts_b )));
0 commit comments