Skip to content

Commit

Permalink
fix(sink): fix ci clickhouse sink (#14711)
Browse files Browse the repository at this point in the history
  • Loading branch information
xxhZs authored Jan 22, 2024
1 parent a8167be commit a09e52e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci/scripts/e2e-clickhouse-sink-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ sleep 2

echo "--- testing sinks"
sqllogictest -p 4566 -d dev './e2e_test/sink/clickhouse_sink.slt'
sleep 1
sleep 5
./clickhouse client --host=clickhouse-server --port=9000 --query="select * from demo_test FORMAT CSV;" > ./query_result.csv


Expand All @@ -52,6 +52,7 @@ if ($1 == 1 && $2 == 50 && $3 == "\"1-50\"") c1++;
echo "Clickhouse sink check passed"
else
echo "The output is not as expected."
cat ./query_result.csv
exit 1
fi

Expand Down

0 comments on commit a09e52e

Please sign in to comment.