[ 
https://issues.apache.org/jira/browse/IOTDB-329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zesong Sun closed IOTDB-329.
----------------------------
    Resolution: Fixed

> 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
>            Priority: Minor
>              Labels: easy-fix, pull-request-available
>         Attachments: image-2019-11-29-22-38-52-640.png
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to