You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Chao Wang (Jira)" <ji...@apache.org> on 2021/01/16 09:27:00 UTC

[jira] [Created] (IOTDB-1112) some error occurs occasionally in the test case

Chao Wang created IOTDB-1112:
--------------------------------

             Summary: some error occurs occasionally in the test case
                 Key: IOTDB-1112
                 URL: https://issues.apache.org/jira/browse/IOTDB-1112
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Core/TsFile
            Reporter: Chao Wang
            Assignee: Chao Wang
             Fix For: 0.12.0
         Attachments: image-2021-01-16-17-24-59-879.png

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

!image-2021-01-16-17-24-59-879.png!

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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)