Hi all, I’m working on this issue.
So far, I've modified all of the test-generated files into the target directory, and added the TestConstant class for each project test, so that anyone who writes unit tests later can use it uniformly to manage the parameters in the test. In addition, when I checked the server unit tests, I found that the indexDir field in the configuration file was nowhere to be used, but the test directory was generated all the time. So I think it's worth removing it from the configuration file and from the unit tests. I have submitted this pr, I hope someone can review it for me. Pr: https://github.com/apache/incubator-iotdb/pull/578 <https://github.com/apache/incubator-iotdb/pull/578> Issue: https://issues.apache.org/jira/browse/IOTDB-311 <https://issues.apache.org/jira/browse/IOTDB-311> > 在 2019年11月21日,下午7:02,Jialin Qiao (Jira) <[email protected]> 写道: > > Jialin Qiao created IOTDB-311: > --------------------------------- > > Summary: Generate anything in test to the target directory. > Key: IOTDB-311 > URL: https://issues.apache.org/jira/browse/IOTDB-311 > Project: Apache IoTDB > Issue Type: Improvement > Reporter: Jialin Qiao > > > We'd better generate anything in UT/IT to the target directory to avoid > including these files in source release. > > > > -- > This message was sent by Atlassian Jira > (v8.3.4#803005) >
