Re #74: Fix test by providing time argument in nanoseconds.

This commit is contained in:
tomasz.kowalczewski committed 2021-10-21 14:24:47 +02:00
1 parent 0ec6a8a5f7
commit 3b7e609cfc
2 files changed
+1 -2

No files matched your search

@@ -39,7 +39,6 @@ public class LokiAssert {
}
public LokiAssert withFormParam(String param) {
System.out.println("param = " + param);
this.param = param;
return this;
}
@@ -32,7 +32,7 @@ class LokiAppenderLargeBatchesTest extends IntegrationTest {
"Tootsie roll carrot cake pastry jujubes jelly beans chupa chups. " +
"Souffle cake muffin liquorice tart souffle pie sesame snaps.";
long expectedTimestamp = System.currentTimeMillis();
long expectedTimestamp = TimeUnit.MILLISECONDS.toNanos(System.currentTimeMillis());
// When
for (int i = 0; i < 1000; i++) {