Skip to content

Added some protective code here and there

6486bd9
Select commit
Loading
Failed to load commit list.
Merged

[repo] Fix slow init/teardown in cloud tests #2852

Added some protective code here and there
6486bd9
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded May 15, 2026 in 58s

Annotations

Check warning on line 15 in jdbc-v2/src/test/java/com/clickhouse/jdbc/JdbcIntegrationTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'java.util.List'.

See more on https://sonarcloud.io/project/issues?id=ClickHouse_clickhouse-java&issues=AZ4siTyzBO_6kV5u0NPz&open=AZ4siTyzBO_6kV5u0NPz&pullRequest=2852

Check warning on line 337 in clickhouse-client/src/test/java/com/clickhouse/client/ClickHouseServerForTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Merge this if statement with the enclosing one.

See more on https://sonarcloud.io/project/issues?id=ClickHouse_clickhouse-java&issues=AZ4oUKMBPEFRCu6gz8uu&open=AZ4oUKMBPEFRCu6gz8uu&pullRequest=2852

Check failure on line 269 in jdbc-v2/src/main/java/com/clickhouse/jdbc/internal/JdbcConfiguration.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 25 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=ClickHouse_clickhouse-java&issues=AZ4siT0GBO_6kV5u0NP0&open=AZ4siT0GBO_6kV5u0NP0&pullRequest=2852

Check failure on line 65 in clickhouse-client/src/test/java/com/clickhouse/client/ClickHouseServerForTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this constant name to match the regular expression '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.

See more on https://sonarcloud.io/project/issues?id=ClickHouse_clickhouse-java&issues=AZ4oUKMBPEFRCu6gz8uw&open=AZ4oUKMBPEFRCu6gz8uw&pullRequest=2852

Check warning on line 7 in jdbc-v2/src/test/java/com/clickhouse/jdbc/JdbcIntegrationTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'com.clickhouse.client.api.query.GenericRecord'.

See more on https://sonarcloud.io/project/issues?id=ClickHouse_clickhouse-java&issues=AZ4siTyzBO_6kV5u0NPy&open=AZ4siTyzBO_6kV5u0NPy&pullRequest=2852

Check warning on line 375 in clickhouse-client/src/test/java/com/clickhouse/client/ClickHouseServerForTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Merge this if statement with the enclosing one.

See more on https://sonarcloud.io/project/issues?id=ClickHouse_clickhouse-java&issues=AZ4oUKMBPEFRCu6gz8uv&open=AZ4oUKMBPEFRCu6gz8uv&pullRequest=2852