mirror of
https://github.com/tiennm99/tjahzi.git
synced 2026-10-13 04:15:19 +00:00
Re #74: Fix test by providing time argument in nanoseconds.
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
+1
-1
@@ -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++) {
|
||||
|
||||
Reference in new issue
Block a user