jixuan1989 commented on a change in pull request #460:
URL: https://github.com/apache/iotdb/pull/460#discussion_r536782987
##########
File path:
server/src/test/java/org/apache/iotdb/db/writelog/WriteLogNodeTest.java
##########
@@ -180,9 +180,13 @@ public void testSyncThreshold() throws IOException,
IllegalPathException {
File walFile = new File(
config.getWalDir() + File.separator + "root.logTestDevice" +
File.separator + "wal1");
- assertTrue(!walFile.exists());
+ assertFalse(walFile.exists());
logNode.write(deletePlan);
+ System.out.println("Waiting for wal file to be created");
+ while (!walFile.exists()) {
+
Review comment:
better to print something after a period.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]