Skip to content

Commit 9f30053

Browse files
Fix other bad tests
1 parent f7a001f commit 9f30053

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/queries/0_stateless/01509_check_many_parallel_quorum_inserts_long.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ for i in $(seq 1 $NUM_REPLICAS); do
3232

3333
# Note: making 30 connections simultaneously is a mini-DoS when server is build with sanitizers and CI environment is overloaded.
3434
# That's why we repeat "socket timeout" errors.
35-
thread $i $a 2>&1 | grep -v -P 'SOCKET_TIMEOUT|NETWORK_ERROR|^$' &
35+
thread $i $a 2>&1 | tr '\n' ' ' | grep -v -P 'SOCKET_TIMEOUT|NETWORK_ERROR|^$' &
3636
done
3737
done
3838

tests/queries/0_stateless/03237_create_or_replace_view_atomically_with_atomic_engine.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export -f create_or_replace_view_thread;
2323
function select_view_thread
2424
{
2525
for _ in {1..20}; do
26-
$CLICKHOUSE_CLIENT --query "SELECT * FROM ${CLICKHOUSE_DATABASE}_db.test_view FORMAT NULL" | grep -v -P 'Code: (60|741)'
26+
$CLICKHOUSE_CLIENT --query "SELECT * FROM ${CLICKHOUSE_DATABASE}_db.test_view FORMAT NULL" 2>&1 | tr '\n' ' ' | grep -v -P 'Code: (60|741)'
2727
done
2828
}
2929
export -f select_view_thread;

0 commit comments

Comments
 (0)