10 Commits
Author SHA1 Message Date
Groene AIandClaude Opus 5.5 18c899494f Wait for the replication queue in test_replication_after_partition
The test partitions node1 and node2 on the interserver port with
`iptables -j DROP` 10 times while inserting 100 rows. A node2 part fetch
that reuses a pooled keep-alive connection sends its request into the
DROP and waits on TCP retransmission backoff (cumulative ~6.2, 12.6,
25.4 s from a 200 ms RTO), so it can complete up to ~13 s after the last
heal, inside the 30 s fetch receive timeout. GET_PART entries for the
covering merged parts wait behind it, so one stalled fetch hides dozens
of rows. The old `assert_eq_with_retry` polled for only ~11.3 s after
the heal (20 x 0.5 s), which made the test fail with '100' != '48' on
master (Integration tests (arm_binary, 2/4), b4901fe6ac): in that
job's node2 system.part_log six fetches took 6.4-26.5 s, all with
HTTPConnectionsReused = 1, and the last one finished 0.5 s after the
last poll.

Run SYSTEM SYNC REPLICA on node2 (it pulls the log and waits for every
entry, including all 100 GET_PART entries) with a 120 s client timeout,
then assert the exact count.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 01:41:50 +00:00
robot-clickhouse 7c6ce8611c Automatic style fix 2024-09-27 10:19:49 +00:00
Alexander Tokmakov f00e6b5a7a deprecate old MergeTree syntax 2022-06-23 11:24:54 +02:00
Mikhail f. Shiryaev e6f5a3f98b Apply black formatter to all *.py files in the repo 2022-03-22 17:39:58 +01:00
Vitaly Baranov 3a3cbeb7aa Collect stderr.log and stdout.log in all integration tests by default. 2021-06-29 17:30:47 +03:00
alesapin f12382ad93 Fix race in openssl 2020-10-09 12:08:49 +03:00
Azat Khuzhin 9cb3c743bd Convert to python3 (#15007) 2020-10-02 19:54:07 +03:00
bharatnc b75963d370 Format and optimize imports in integration test files
This PR formats all the `*.py` files found under the `tests/integration`
folder. It also reorders the imports and cleans up a bunch of unused
imports.

The formatting also takes care of other things like wrapping lines and
fixing spaces and indents such that the tests look more readable.
2020-09-15 23:10:54 -07:00
Yatsishin Ilya 160776f183 Add explicit main_configs, user_configs and dictionaries in integration tests. 2020-08-12 11:55:04 +03:00
Ivan 97f2a2213e Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00