Skip to content

Instantly share code, notes, and snippets.

@leshikus
Created August 27, 2025 18:10
Show Gist options
  • Select an option

  • Save leshikus/45f0e9842ac36afae7143cbbe28964de to your computer and use it in GitHub Desktop.

Select an option

Save leshikus/45f0e9842ac36afae7143cbbe28964de to your computer and use it in GitHub Desktop.
02443_detach_attach_partition reproducer
#!/bin/bash
set -eu
cd $(dirname "$0")/ClickHouse
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 "Stateless tests (amd_binary, old analyzer, s3 storage, DatabaseReplicated, parallel)" --test 02443_detach_attach_partition |& tee test.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment