You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2021/01/17 14:28:05 UTC

[GitHub] [iotdb] wangchao316 edited a comment on pull request #2507: IOTDB-1112 some error occurs occasionally in the test case

wangchao316 edited a comment on pull request #2507:
URL: https://github.com/apache/iotdb/pull/2507#issuecomment-761724872


   > Could you describe the intention of the PR first?
   
   If test cases are run in parallel, a test case class uses the tool class TsFileGeneratorForTest.java to generate a data file. After the execution is complete, the file is deleted. However, another test class is running and the tool class TsFileGeneratorForTest is used to generate a the same name file. As a result, the file cannot be found.
   1. This pr is used to generate different data files for different test case classes and allow them to be executed concurrently in parallel. two test case class be no influence between each other.
   2. This is one of the features of the test case, that is independence.
   3. This problem does not occur in Github because the current Github pr test uses a single thread to execute test cases one by one.


----------------------------------------------------------------
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:
users@infra.apache.org