mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Fix test 00443_preferred_block_size_bytes.sh (#27846)
* Update 00443_preferred_block_size_bytes.sh * Update clickhouse-test * Update clickhouse-test * Update database_replicated.xml
This commit is contained in:
parent
2f0d5c6f21
commit
64bfe21a1b
@ -44,15 +44,17 @@ DISTRIBUTED_DDL_TIMEOUT_MSG = "is executing longer than distributed_ddl_task_tim
|
|||||||
|
|
||||||
MESSAGES_TO_RETRY = [
|
MESSAGES_TO_RETRY = [
|
||||||
"DB::Exception: ZooKeeper session has been expired",
|
"DB::Exception: ZooKeeper session has been expired",
|
||||||
"DB::Exception: Connection loss",
|
|
||||||
"Coordination::Exception: Session expired",
|
"Coordination::Exception: Session expired",
|
||||||
"Coordination::Exception: Connection loss",
|
"Coordination::Exception: Connection loss",
|
||||||
"Coordination::Exception: Operation timeout",
|
"Coordination::Exception: Operation timeout",
|
||||||
|
"DB::Exception: Session expired",
|
||||||
|
"DB::Exception: Connection loss",
|
||||||
"DB::Exception: Operation timeout",
|
"DB::Exception: Operation timeout",
|
||||||
"Operation timed out",
|
"Operation timed out",
|
||||||
"ConnectionPoolWithFailover: Connection failed at try",
|
"ConnectionPoolWithFailover: Connection failed at try",
|
||||||
"DB::Exception: New table appeared in database being dropped or detached. Try again",
|
"DB::Exception: New table appeared in database being dropped or detached. Try again",
|
||||||
"is already started to be removing by another replica right now",
|
"is already started to be removing by another replica right now",
|
||||||
|
"DB::Exception: Cannot enqueue query",
|
||||||
"Shutdown is called for table", # It happens in SYSTEM SYNC REPLICA query if session with ZooKeeper is being reinitialized.
|
"Shutdown is called for table", # It happens in SYSTEM SYNC REPLICA query if session with ZooKeeper is being reinitialized.
|
||||||
DISTRIBUTED_DDL_TIMEOUT_MSG # FIXME
|
DISTRIBUTED_DDL_TIMEOUT_MSG # FIXME
|
||||||
]
|
]
|
||||||
|
@ -22,9 +22,9 @@
|
|||||||
<operation_timeout_ms>10000</operation_timeout_ms>
|
<operation_timeout_ms>10000</operation_timeout_ms>
|
||||||
<session_timeout_ms>30000</session_timeout_ms>
|
<session_timeout_ms>30000</session_timeout_ms>
|
||||||
<heart_beat_interval_ms>1000</heart_beat_interval_ms>
|
<heart_beat_interval_ms>1000</heart_beat_interval_ms>
|
||||||
<election_timeout_lower_bound_ms>2000</election_timeout_lower_bound_ms>
|
<election_timeout_lower_bound_ms>4000</election_timeout_lower_bound_ms>
|
||||||
<election_timeout_upper_bound_ms>4000</election_timeout_upper_bound_ms>
|
<election_timeout_upper_bound_ms>5000</election_timeout_upper_bound_ms>
|
||||||
<raft_logs_level>trace</raft_logs_level>
|
<raft_logs_level>information</raft_logs_level>
|
||||||
<force_sync>false</force_sync>
|
<force_sync>false</force_sync>
|
||||||
<!-- we want all logs for complex problems investigation -->
|
<!-- we want all logs for complex problems investigation -->
|
||||||
<reserved_log_items>1000000000000000</reserved_log_items>
|
<reserved_log_items>1000000000000000</reserved_log_items>
|
||||||
|
@ -42,10 +42,10 @@ popd > /dev/null
|
|||||||
#SCRIPTDIR=`dirname "$SCRIPTPATH"`
|
#SCRIPTDIR=`dirname "$SCRIPTPATH"`
|
||||||
SCRIPTDIR=$SCRIPTPATH
|
SCRIPTDIR=$SCRIPTPATH
|
||||||
|
|
||||||
cat "$SCRIPTDIR"/00282_merging.sql | $CLICKHOUSE_CLIENT --preferred_block_size_bytes=10 -n > "${CLICKHOUSE_TMP}"/preferred_block_size_bytes.stdout 2>&1
|
cat "$SCRIPTDIR"/00282_merging.sql | $CLICKHOUSE_CLIENT --preferred_block_size_bytes=10 -n > "${CLICKHOUSE_TMP}"/preferred_block_size_bytes.stdout
|
||||||
cmp "$SCRIPTDIR"/00282_merging.reference "${CLICKHOUSE_TMP}"/preferred_block_size_bytes.stdout && echo PASSED || echo FAILED
|
cmp "$SCRIPTDIR"/00282_merging.reference "${CLICKHOUSE_TMP}"/preferred_block_size_bytes.stdout && echo PASSED || echo FAILED
|
||||||
|
|
||||||
cat "$SCRIPTDIR"/00282_merging.sql | $CLICKHOUSE_CLIENT --preferred_block_size_bytes=20 -n > "${CLICKHOUSE_TMP}"/preferred_block_size_bytes.stdout 2>&1
|
cat "$SCRIPTDIR"/00282_merging.sql | $CLICKHOUSE_CLIENT --preferred_block_size_bytes=20 -n > "${CLICKHOUSE_TMP}"/preferred_block_size_bytes.stdout
|
||||||
cmp "$SCRIPTDIR"/00282_merging.reference "${CLICKHOUSE_TMP}"/preferred_block_size_bytes.stdout && echo PASSED || echo FAILED
|
cmp "$SCRIPTDIR"/00282_merging.reference "${CLICKHOUSE_TMP}"/preferred_block_size_bytes.stdout && echo PASSED || echo FAILED
|
||||||
|
|
||||||
rm "${CLICKHOUSE_TMP}"/preferred_block_size_bytes.stdout
|
rm "${CLICKHOUSE_TMP}"/preferred_block_size_bytes.stdout
|
||||||
|
Loading…
Reference in New Issue
Block a user