Skip to content

Commit

Permalink
try not use parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
hzxa21 committed Dec 20, 2024
1 parent 9e037b2 commit 45e0b1e
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions ci/scripts/deterministic-recovery-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,24 @@ ${EXTRA_ARGS:-} \
2> $LOGDIR/recovery-background-ddl-{}.log && rm $LOGDIR/recovery-background-ddl-{}.log'

echo "--- deterministic simulation e2e, ci-3cn-2fe-1meta, recovery, ddl"
seq "$TEST_NUM" | parallel --tmpdir .risingwave 'MADSIM_TEST_SEED={} ./risingwave_simulation \
--kill \
--kill-rate=${KILL_RATE} \
--background-ddl-rate=${BACKGROUND_DDL_RATE} \
${EXTRA_ARGS:-} \
./e2e_test/ddl/\*\*/\*.slt 2> $LOGDIR/recovery-ddl-{}.log && rm $LOGDIR/recovery-ddl-{}.log'

for s in `seq $TEST_NUM`
do
echo "Running test $s"
df -h
MADSIM_TEST_SEED=$s ./risingwave_simulation \
--kill \
--kill-rate=${KILL_RATE} \
--background-ddl-rate=${BACKGROUND_DDL_RATE} \
${EXTRA_ARGS:-} \
./e2e_test/ddl/**/*.slt 2> $LOGDIR/recovery-ddl-$s.log && rm $LOGDIR/recovery-ddl-$s.log
done
# seq "$TEST_NUM" | parallel --tmpdir .risingwave 'MADSIM_TEST_SEED={} ./risingwave_simulation \
# --kill \
# --kill-rate=${KILL_RATE} \
# --background-ddl-rate=${BACKGROUND_DDL_RATE} \
# ${EXTRA_ARGS:-} \
# ./e2e_test/ddl/\*\*/\*.slt 2> $LOGDIR/recovery-ddl-{}.log && rm $LOGDIR/recovery-ddl-{}.log'

echo "--- deterministic simulation e2e, ci-3cn-2fe-1meta, recovery, streaming"
seq "$TEST_NUM" | parallel 'MADSIM_TEST_SEED={} ./risingwave_simulation \
Expand Down

0 comments on commit 45e0b1e

Please sign in to comment.