Skip to content

Commit

Permalink
fix git conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
lance6716 committed Jul 12, 2022
1 parent f2422b8 commit d2d2c47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -281,11 +281,7 @@ dm_unit_test: check_failpoint_ctl
mkdir -p $(DM_TEST_DIR)
$(FAILPOINT_ENABLE)
@export log_level=error; \
<<<<<<< HEAD
$(GOTEST) -timeout 5m -covermode=atomic -coverprofile="$(DM_TEST_DIR)/cov.unit_test.out" $(DM_PACKAGES) \
=======
$(GOTEST) -timeout 10m -covermode=atomic -coverprofile="$(DM_TEST_DIR)/cov.unit_test.out" $(1) \
>>>>>>> 65e67fc4b (test(dm): fix unstable tests (#5865))
$(GOTEST) -timeout 10m -covermode=atomic -coverprofile="$(DM_TEST_DIR)/cov.unit_test.out" $(DM_PACKAGES) \
|| { $(FAILPOINT_DISABLE); exit 1; }
$(FAILPOINT_DISABLE)

Expand Down
6 changes: 1 addition & 5 deletions dm/tests/_utils/wait_process_exit
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
process=$1

WAIT_COUNT=0
while [ $WAIT_COUNT -lt 30 ]; do
while [ $WAIT_COUNT -lt 120 ]; do
pgrep $process >/dev/null 2>&1
ret=$?
if [ "$ret" != "0" ]; then
Expand All @@ -16,9 +16,5 @@ while [ $WAIT_COUNT -lt 30 ]; do
((WAIT_COUNT++))
done

<<<<<<< HEAD
echo "process $process didn't exit after 30 seconds"
=======
echo "process $process didn't exit after 120 seconds, current processlist: $(ps aux | grep $process | grep -v 'grep')"
>>>>>>> 65e67fc4b (test(dm): fix unstable tests (#5865))
exit 1

0 comments on commit d2d2c47

Please sign in to comment.