[
https://issues.apache.org/jira/browse/FLINK-20891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
zlzhang0122 updated FLINK-20891:
--------------------------------
Description: When the function run() in class SystemResourcesCounter come
across Throwable exception, the loop in the function run() of the
SystemResourcesCounter class will break, the SystemResourcesCounter thread will
finish and the loop in the class SystemResourcesCounterTest will continue
because of the condition is still true, the test will in a endless loop. (was:
When the function run() in class SystemResourcesCounter come across Throwable
exception, the loop in the function run() of the SystemResourcesCounter class
will break, the SystemResourcesCounter thread will finish and the loop in the
class SystemResourcesCounterTest will continue because of the condition is
still true, and no message will occured. The test will in a endless loop.)
> SystemResourcesCounterTest may caused endless loop when some error occured
> ---------------------------------------------------------------------------
>
> Key: FLINK-20891
> URL: https://issues.apache.org/jira/browse/FLINK-20891
> Project: Flink
> Issue Type: Bug
> Components: Tests
> Affects Versions: 1.12.0, 1.11.1
> Reporter: zlzhang0122
> Priority: Major
>
> When the function run() in class SystemResourcesCounter come across
> Throwable exception, the loop in the function run() of the
> SystemResourcesCounter class will break, the SystemResourcesCounter thread
> will finish and the loop in the class SystemResourcesCounterTest will
> continue because of the condition is still true, the test will in a endless
> loop.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)