Repository navigation
[test] Fix Cloud Tests - #3144
[test] Fix Cloud Tests #3144chernser wants to merge 8 commits into
Conversation
Client V2 CoverageCoverage Report
Class Coverage
|
JDBC V2 CoverageCoverage Report
Class Coverage
|
JDBC V1 CoverageCoverage Report
Class Coverage
|
Client V1 CoverageCoverage Report
Class Coverage
|
TriageCategory: Summary What this impacts
Concerns
Required reviewer action
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
There are 2 total unresolved issues (including 1 from previous review).
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 5c3947d. Configure here.
| assertEquals(updateCount, expectedUpdateCount); | ||
|
|
||
| try (ResultSet rs = stmt.executeQuery("SELECT count() FROM " + getDatabase() + "." + tableName)) { | ||
| try (ResultSet rs = stmt.executeQuery("SELECT count() FROM clusterAllReplicas('default', " + getDatabase() + "." + tableName + ")")) { |
There was a problem hiding this comment.
Replica reads inflate insert counts
Medium Severity
clusterAllReplicas concatenates the user table from every node, so count() is multiplied by replica count. Cloud default uses SharedMergeTree on multiple replicas, so the exact 100000 checks fail and the async count < 100000 check can fail once the rows are visible on more than one node.
Reviewed by Cursor Bugbot for commit 5c3947d. Configure here.
There was a problem hiding this comment.
yes, this is correct - but the fundamental problem is not here.
will remove.
|





Summary
There are few common failures in tests when run against cloud:
Checklist
Delete items not relevant to your PR: