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

some error occurs occasionally in the test case

    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

        1. image-2021-01-16-17-24-59-879.png
          18 kB
          Chao Wang
        2. IOTDB-1112.master.001.patch
          50 kB
          Chao Wang
        3. testpass.png
          48 kB
          Chao Wang

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: