diff --git a/engine/src/test/java/com/arcadedb/TypeConversionTest.java b/engine/src/test/java/com/arcadedb/TypeConversionTest.java index 2c3bb55ca..ae296e6e5 100644 --- a/engine/src/test/java/com/arcadedb/TypeConversionTest.java +++ b/engine/src/test/java/com/arcadedb/TypeConversionTest.java @@ -489,6 +489,12 @@ public void testSQLMath() { ResultSet resultSet = database.command("sql", "insert into ConversionTest set datetime_micros = ?", date1); assertThat(resultSet.next().toElement().get("datetime_micros")).isEqualTo(date1.truncatedTo(ChronoUnit.MICROS)); + try { + TimeUnit.MILLISECONDS.sleep(10); + } catch (InterruptedException e) { + throw new RuntimeException(e); + } + resultSet = database.command("sql", "insert into ConversionTest set datetime_micros = ?", date2); assertThat(resultSet.next().toElement().get("datetime_micros")).isEqualTo(date2.truncatedTo(ChronoUnit.MICROS));