Skip to content

Commit

Permalink
hazelcast.max.no.heartbeat.seconds 60
Browse files Browse the repository at this point in the history
  • Loading branch information
bitsofinfo committed Feb 28, 2019
1 parent 303b8d3 commit b2e43e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ script:
- export CONTAINERX_ID=`docker ps -f "name=hazelcast-docker-swarm-discovery-spi-test." --format "{{.ID}}"`
- CONTAINERX_ID=`echo $CONTAINERX_ID | awk '{ print $1 }'`
- docker logs --tail 50 $CONTAINERX_ID
- export MEMBER_TOTAL=`docker logs --tail 50 $CONTAINERX_ID 2>&1 | grep "Members {size:2"`
- export MEMBER_TOTAL=`docker logs --tail 100 $CONTAINERX_ID 2>&1 | grep "Members {size:2"`
- echo $MEMBER_TOTAL
- if [[ "$MEMBER_TOTAL" == 'Members {size:2'* ]]; then echo "OK"; else exit 1; fi

Expand All @@ -88,6 +88,7 @@ script:
-DservicePort=5701
-DpeerServicesCsv=hazelcast-docker-swarm-dnsrr-discovery-spi-service:5701
-Dhazelcast.diagnostics.enabled=true
-Dhazelcast.max.no.heartbeat.seconds=60
-jar /test.jar
# Wait for startup
Expand Down

0 comments on commit b2e43e8

Please sign in to comment.