Skip to content

guard against stopping stats background threads#13659

Open
DaanHoogland wants to merge 2 commits into
4.20from
ghi13648-guardWorkerThreadForStats
Open

guard against stopping stats background threads#13659
DaanHoogland wants to merge 2 commits into
4.20from
ghi13648-guardWorkerThreadForStats

stats cleanup test

ce7a866
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jul 21, 2026 in 9m 35s

Annotations

Check warning on line 363 in server/src/test/java/com/cloud/server/StatsCollectorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "doThrow".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ-E8y5IuGNGh1a-x5QL&open=AZ-E8y5IuGNGh1a-x5QL&pullRequest=13659

Check warning on line 349 in server/src/test/java/com/cloud/server/StatsCollectorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "verify".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ-E8y5IuGNGh1a-x5QI&open=AZ-E8y5IuGNGh1a-x5QI&pullRequest=13659

Check warning on line 358 in server/src/test/java/com/cloud/server/StatsCollectorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "verify".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ-E8y5IuGNGh1a-x5QK&open=AZ-E8y5IuGNGh1a-x5QK&pullRequest=13659

Check warning on line 373 in server/src/test/java/com/cloud/server/StatsCollectorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "doThrow".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ-E8y5IuGNGh1a-x5QN&open=AZ-E8y5IuGNGh1a-x5QN&pullRequest=13659

Check warning on line 378 in server/src/test/java/com/cloud/server/StatsCollectorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "verify".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ-E8y5IuGNGh1a-x5QO&open=AZ-E8y5IuGNGh1a-x5QO&pullRequest=13659

Check warning on line 349 in server/src/test/java/com/cloud/server/StatsCollectorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "never".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ-E8y5IuGNGh1a-x5QJ&open=AZ-E8y5IuGNGh1a-x5QJ&pullRequest=13659

Check warning on line 368 in server/src/test/java/com/cloud/server/StatsCollectorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "verify".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ-E8y5IuGNGh1a-x5QM&open=AZ-E8y5IuGNGh1a-x5QM&pullRequest=13659