Skip to content

Commit

Permalink
Merge pull request #380 from modelix/ci/fix-bulk-sync-test
Browse files Browse the repository at this point in the history
ci(bulk-model-sync-gradle): replace sleep with health-check
  • Loading branch information
mhuster23 authored Dec 21, 2023
2 parents 5567d28 + f7137c3 commit 56655da
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions bulk-model-sync-gradle-test/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,8 @@ fi

./gradlew runModelServer --console=plain &
MODEL_SERVER_PID=$!
sleep 5

#CI needs more time
if [ "${CI}" = "true" ]; then
sleep 20
fi

curl -X POST http://127.0.0.1:28309/v2/repositories/ci-test/init
curl -X GET --retry 30 --retry-connrefused --retry-delay 1 http://localhost:28309/health

./gradlew runSyncTestPush --console=plain --stacktrace
./gradlew test --tests 'PushTest'
Expand Down

0 comments on commit 56655da

Please sign in to comment.