Skip to content

Instantly share code, notes, and snippets.

@leshikus
Created August 21, 2025 19:29
Show Gist options
  • Select an option

  • Save leshikus/32d2d61bcdd918a4094336c3fceab765 to your computer and use it in GitHub Desktop.

Select an option

Save leshikus/32d2d61bcdd918a4094336c3fceab765 to your computer and use it in GitHub Desktop.
Run a single test via `praktika`
#!/bin/bash
set -eu
#test=03540_system_dashboards
#test=02443_detach_attach_partition
test=01154_move_partition_long
test=01086_odbc_roundtrip
wf="Stateless tests (amd_debug, sequential)"
#wf="Stateless tests (amd_binary, old analyzer, s3 storage, DatabaseReplicated, parallel)"
wf="Stateless tests (amd_binary, old analyzer, s3 storage, DatabaseReplicated, sequential)"
wf="Stateless tests (amd_debug, parallel)"
dir=ClickHouse
dir=bug80315
cd $(dirname "$0")/$dir
cur_dir=$(pwd -P)
mkdir -p ci/tmp
mv ci/tmp ci/tmp-del$RANDOM
rm -rf ci/tmp-del* &
mkdir -p ci/tmp
ln -snf $cur_dir/build/programs/clickhouse ci/tmp/
python -m ci.praktika run "$wf" --workflow "MasterCI" --test $test |& tee ../test_$test.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment