Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-1112

some error occurs occasionally in the test case

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      I find a issue, some error occurs occasionally in the test case. 

      The analysis shows that multiple test cases use the tool class TsFileGeneratorForTest to generate data files. The data files have the same name and duplicate data. As a result, the data file is deleted after a test case is executed, affecting other test classes that are being executed.
      We all know that test classes are independent and that different test classes cannot interfere with each other. So I refactored the utility class.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            wangchao316 Chao Wang
            wangchao316 Chao Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment