You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@iotdb.apache.org by "xiangdong Huang (Jira)" <ji...@apache.org> on 2019/11/29 14:42:00 UTC

[jira] [Created] (IOTDB-329) MetricService not quite in Integration Tests (easy-fix, for fresh contributors)

xiangdong Huang created IOTDB-329:
-------------------------------------

             Summary: MetricService not quite in Integration Tests (easy-fix, for fresh contributors)
                 Key: IOTDB-329
                 URL: https://issues.apache.org/jira/browse/IOTDB-329
             Project: Apache IoTDB
          Issue Type: Bug
    Affects Versions: 0.8.0, 0.9.0, 0.8.1
            Reporter: xiangdong Huang
         Attachments: image-2019-11-29-22-38-52-640.png

There are some error infos on Travis:

!image-2019-11-29-22-38-52-640.png!

 

It is because in our ITs, MetricService is not closed after an IT finished.

 

It is quite easy to fix that, just add the code into `EnvironmentUtils.cleanEnv()`:

```

MetricsService.getInstance().stop();

```

before  `cleanAllDir();`

 

 



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