Skip to content

Commit

Permalink
fix: Use different port to exercise dev start/stop
Browse files Browse the repository at this point in the history
  • Loading branch information
JigarJoshi committed Sep 17, 2022
1 parent dfba3d3 commit 186c812
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tests/db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -338,10 +338,12 @@ if [ -z "$noup" ]; then
fi

test_dev_alias() {
$cli local down
$cli dev start
$cli dev stop
# the prior part of test starts tigris server instances on 8081 and 8082, using different port here fix the port conflict
$cli dev start 9083
$cli dev stop 9083
}

test_dev_alias
# uncomment this test once it is fixed
# local up readiness needs to check on port passed in (vs the config.DefaultConfig.URL)
#test_dev_alias

0 comments on commit 186c812

Please sign in to comment.