Skip to content
This repository has been archived by the owner on Dec 8, 2021. It is now read-only.

Commit

Permalink
tests: fix a test failure due to conflict between #145 and #158
Browse files Browse the repository at this point in the history
  • Loading branch information
kennytm committed Apr 3, 2019
1 parent 7bae12e commit bafaa5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/checkpoint_chunks/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ rm -f "$TEST_DIR/cpch.pb"

# Set the failpoint to kill the lightning instance as soon as one chunk is imported
# If checkpoint does work, this should only kill $CHUNK_COUNT instances of lightnings.
export GOFAIL_FAILPOINTS='github.com/pingcap/tidb-lightning/lightning/restore/FailIfImportedChunk=return'
export GOFAIL_FAILPOINTS="github.com/pingcap/tidb-lightning/lightning/restore/FailIfImportedChunk=return($ROW_COUNT)"
set +e
for i in $(seq "$CHUNK_COUNT"); do
echo "******** Importing Chunk using File checkpoint Now (step $i/$CHUNK_COUNT) ********"
Expand Down

0 comments on commit bafaa5c

Please sign in to comment.