Skip to content

Commit

Permalink
lightning: fix unstable test for conflict detection (pingcap#53225)
Browse files Browse the repository at this point in the history
  • Loading branch information
lyzx2001 authored and terry1purcell committed May 17, 2024
1 parent 465f887 commit 1fd96f4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ LOG_FILE1="$TEST_DIR/lightning_duplicate_resolution_merge1.log"
LOG_FILE2="$TEST_DIR/lightning_duplicate_resolution_merge2.log"

# let lightning run a bit slow to avoid some table in the first lightning finish too fast.
export GO_FAILPOINTS="github.com/pingcap/tidb/lightning/pkg/importer/SlowDownImport=sleep(250)"
export GO_FAILPOINTS="github.com/pingcap/tidb/lightning/pkg/importer/SlowDownImport=sleep(1000)"

run_lightning --backend local --sorted-kv-dir "$TEST_DIR/lightning_duplicate_resolution_merge.sorted1" \
-d "$CUR/data1" --log-file "$LOG_FILE1" --config "$CUR/config.toml" &
Expand Down

0 comments on commit 1fd96f4

Please sign in to comment.