[KEYCLOAK-11079] CrossDC server tests broken on Travis
- Only run crossdc-server tests if the event type is a cron job This change is not the definitive solution, but allows us to stabilize the tests on master branch
This commit is contained in:
parent
67df6d03af
commit
c158105e2e
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ function should-tests-run() {
|
||||||
|
|
||||||
function should-tests-run-crossdc-server() {
|
function should-tests-run-crossdc-server() {
|
||||||
# If this is not a pull request, it is build as a branch update. In that case test everything
|
# If this is not a pull request, it is build as a branch update. In that case test everything
|
||||||
[ "$TRAVIS_PULL_REQUEST" = "false" ] && return 0
|
[ "$TRAVIS_EVENT_TYPE" = "cron" ] && return 0
|
||||||
|
|
||||||
git diff --name-only HEAD origin/${TRAVIS_BRANCH} |
|
git diff --name-only HEAD origin/${TRAVIS_BRANCH} |
|
||||||
egrep -i 'crossdc|infinispan'
|
egrep -i 'crossdc|infinispan'
|
||||||
|
|
Loading…
Reference in a new issue