Skip to content
Permalink
Browse files
[tests] remove backward compatibility test against yahoo-version (apa…
…che Pulsar 1.21) (#3028)
  • Loading branch information
nicoloboschi committed Feb 8, 2022
1 parent dcf1281 commit 1eae5e473b7775419760747b5d1f4dadd0c09052
Show file tree
Hide file tree
Showing 18 changed files with 56 additions and 323 deletions.
@@ -30,7 +30,7 @@ on:
workflow_dispatch:

env:
MAVEN_OPTS: -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3
GRADLE_ARGS: -Dtestlogger.theme=plain -DtestHideStandardOut=true

jobs:
test:
@@ -49,10 +49,10 @@ jobs:
with:
java-version: 1.8
- name: Build
run: ./gradlew stream:server:build -x test
run: ./gradlew stream:server:build -x test ${GRADLE_ARGS}
- name: Test current server with old clients
run: ./gradlew :tests:backward-compat:current-server-old-clients:test || (tail -n +1 tests/backward-compat/current-server-old-clients/build/reports/tests/test/classes/* && tail -n +1 tests/backward-compat/current-server-old-clients/build/container-logs/**/* && exit 1)
run: ./gradlew :tests:backward-compat:current-server-old-clients:test ${GRADLE_ARGS} || (tail -n +1 tests/backward-compat/current-server-old-clients/build/reports/tests/test/classes/* && tail -n +1 tests/backward-compat/current-server-old-clients/build/container-logs/**/* && exit 1)
- name: Test progressive upgrade
run: ./gradlew :tests:backward-compat:upgrade:test || (tail -n +1 tests/backward-compat/upgrade/build/reports/tests/test/classes/* && tail -n +1 tests/backward-compat/upgrade/build/container-logs/**/* && exit 1)
run: ./gradlew :tests:backward-compat:upgrade:test ${GRADLE_ARGS} || (tail -n +1 tests/backward-compat/upgrade/build/reports/tests/test/classes/* && tail -n +1 tests/backward-compat/upgrade/build/container-logs/**/* && exit 1)
- name: Other tests
run: ./gradlew :tests:backward-compat:test -x tests:backward-compat:upgrade:test -x :tests:backward-compat:current-server-old-clients:test
run: ./gradlew :tests:backward-compat:test -x tests:backward-compat:upgrade:test -x :tests:backward-compat:current-server-old-clients:test ${GRADLE_ARGS}
@@ -29,6 +29,9 @@ on:
- 'site/**'
workflow_dispatch:

env:
GRADLE_ARGS: -Dtestlogger.theme=plain -DtestHideStandardOut=true

jobs:
test:

@@ -47,4 +50,4 @@ jobs:
java-version: 1.8

- name: Run bookie test
run: ./gradlew bookkeeper-server:test --tests="org.apache.bookkeeper.bookie.*" -Dtestlogger.theme=plain
run: ./gradlew bookkeeper-server:test --tests="org.apache.bookkeeper.bookie.*" ${GRADLE_ARGS}
@@ -29,6 +29,9 @@ on:
- 'site/**'
workflow_dispatch:

env:
GRADLE_ARGS: -Dtestlogger.theme=plain -DtestHideStandardOut=true

jobs:
test:

@@ -46,4 +49,4 @@ jobs:
with:
java-version: 1.8
- name: Run client tests
run: ./gradlew bookkeeper-server:test --tests="org.apache.bookkeeper.client.*" -Dtestlogger.theme=plain
run: ./gradlew bookkeeper-server:test --tests="org.apache.bookkeeper.client.*" ${GRADLE_ARGS}
@@ -29,6 +29,9 @@ on:
- 'site/**'
workflow_dispatch:

env:
GRADLE_ARGS: -Dtestlogger.theme=plain -DtestHideStandardOut=true

jobs:
check:

@@ -47,4 +50,4 @@ jobs:
java-version: 1.11
- name: Build with gradle
run: |
./gradlew test -x bookkeeper-server:test -x tests:integration:cluster:test -x tests:integration:smoke:test -x tests:integration:standalone:test -Dtestlogger.theme=plain -PexcludeTests="**/distributedlog/**, **/statelib/**, **/clients/**, **/*common/**, **/stream/**, **/stream/*bk*/**, **/*backward*/**"
./gradlew test -x bookkeeper-server:test -x tests:integration:cluster:test -x tests:integration:smoke:test -x tests:integration:standalone:test -PexcludeTests="**/distributedlog/**, **/statelib/**, **/clients/**, **/*common/**, **/stream/**, **/stream/*bk*/**, **/*backward*/**" ${GRADLE_ARGS}
@@ -29,6 +29,9 @@ on:
- 'site/**'
workflow_dispatch:

env:
GRADLE_ARGS: -Dtestlogger.theme=plain -DtestHideStandardOut=true

jobs:
check:

@@ -47,4 +50,4 @@ jobs:
java-version: 1.8
- name: Build with gradle
run: |
./gradlew test -x bookkeeper-server:test -x tests:integration:cluster:test -x tests:integration:smoke:test -x tests:integration:standalone:test -Dtestlogger.theme=plain -PexcludeTests="**/distributedlog/**, **/statelib/**, **/clients/**, **/*common/**, **/stream/**, **/stream/*bk*/**, **/*backward*/**"
./gradlew test -x bookkeeper-server:test -x tests:integration:cluster:test -x tests:integration:smoke:test -x tests:integration:standalone:test -PexcludeTests="**/distributedlog/**, **/statelib/**, **/clients/**, **/*common/**, **/stream/**, **/stream/*bk*/**, **/*backward*/**" ${GRADLE_ARGS}
@@ -30,7 +30,7 @@ on:
workflow_dispatch:

env:
MAVEN_OPTS: -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3
GRADLE_ARGS: -Dtestlogger.theme=plain -DtestHideStandardOut=true

jobs:
test:
@@ -50,10 +50,10 @@ jobs:
java-version: 1.8

- name: Build tar
run: ./gradlew stream:server:build -x test
run: ./gradlew stream:server:build -x test ${GRADLE_ARGS}
- name: run cluster integration test
run: ./gradlew :tests:integration:cluster:test -Dtestlogger.theme=plain
run: ./gradlew :tests:integration:cluster:test ${GRADLE_ARGS}
- name: run smoke test
run: ./gradlew tests:integration:smoke:test -Dtestlogger.theme=plain
run: ./gradlew tests:integration:smoke:test ${GRADLE_ARGS}
- name: run standalone test
run: ./gradlew tests:integration:standalone:test -Dtestlogger.theme=plain
run: ./gradlew tests:integration:standalone:test ${GRADLE_ARGS}
@@ -29,6 +29,9 @@ on:
- 'site/**'
workflow_dispatch:

env:
GRADLE_ARGS: -Dtestlogger.theme=plain -DtestHideStandardOut=true


jobs:
check:
@@ -47,6 +50,7 @@ jobs:
with:
java-version: 1.8
- name: Validate pull request
run: ./gradlew build -x signDistTar -x test
run: ./gradlew build -x signDistTar -x test ${GRADLE_ARGS}

- name: Check license files
run: dev/check-all-licenses
@@ -29,6 +29,10 @@ on:
- 'site/**'
workflow_dispatch:

env:
GRADLE_ARGS: -Dtestlogger.theme=plain -DtestHideStandardOut=true


jobs:
test:

@@ -46,4 +50,4 @@ jobs:
with:
java-version: 1.8
- name: Run remaining tests
run: ./gradlew bookkeeper-server:test -PexcludeTests="*org.apache.bookkeeper.bookie.*, *org.apache.bookkeeper.client.*, *org.apache.bookkeeper.replication.*, *org.apache.bookkeeper.tls.*" -Dtestlogger.theme=plain
run: ./gradlew bookkeeper-server:test -PexcludeTests="*org.apache.bookkeeper.bookie.*, *org.apache.bookkeeper.client.*, *org.apache.bookkeeper.replication.*, *org.apache.bookkeeper.tls.*" ${GRADLE_ARGS}
@@ -30,7 +30,7 @@ on:
workflow_dispatch:

env:
MAVEN_OPTS: -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3
GRADLE_ARGS: -Dtestlogger.theme=plain -DtestHideStandardOut=true

jobs:
test:
@@ -49,4 +49,4 @@ jobs:
with:
java-version: 1.8
- name: Run replication tests
run: ./gradlew bookkeeper-server:test --tests="org.apache.bookkeeper.replication.*" -Dtestlogger.theme=plain
run: ./gradlew bookkeeper-server:test --tests="org.apache.bookkeeper.replication.*" ${GRADLE_ARGS}
@@ -28,6 +28,9 @@ on:
- 'site/**'
workflow_dispatch:

env:
GRADLE_ARGS: -Dtestlogger.theme=plain -DtestHideStandardOut=true

jobs:
test:

@@ -45,19 +48,19 @@ jobs:
with:
java-version: 1.8
- name: Run stream:distributedlog:core tests
run: ./gradlew stream:distributedlog:core:test -Dtestlogger.theme=plain
run: ./gradlew stream:distributedlog:core:test ${GRADLE_ARGS}
- name: Run stream:distributedlog:common tests
run: ./gradlew stream:distributedlog:common:test -Dtestlogger.theme=plain
run: ./gradlew stream:distributedlog:common:test ${GRADLE_ARGS}
- name: Run stream:distributedlog:protocol tests
run: ./gradlew stream:distributedlog:protocol:test -Dtestlogger.theme=plain
run: ./gradlew stream:distributedlog:protocol:test ${GRADLE_ARGS}
- name: Run stream:proto tests
run: ./gradlew stream:proto:test -Dtestlogger.theme=plain
run: ./gradlew stream:proto:test ${GRADLE_ARGS}
- name: Run stream:serve tests
run: ./gradlew stream:server:test -Dtestlogger.theme=plain
run: ./gradlew stream:server:test ${GRADLE_ARGS}
- name: Run stream:statelib tests
run: ./gradlew stream:statelib:test -Dtestlogger.theme=plain
run: ./gradlew stream:statelib:test ${GRADLE_ARGS}
- name: Run stream:storage:api:test tests
run: ./gradlew stream:storage:api:test -Dtestlogger.theme=plain
run: ./gradlew stream:storage:api:test ${GRADLE_ARGS}
- name: Run stream:storage:impl tests
run: ./gradlew stream:storage:impl:test -Dtestlogger.theme=plain
run: ./gradlew stream:storage:impl:test ${GRADLE_ARGS}

@@ -29,6 +29,9 @@ on:
- 'site/**'
workflow_dispatch:

env:
GRADLE_ARGS: -Dtestlogger.theme=plain -DtestHideStandardOut=true

jobs:
test:

@@ -46,4 +49,4 @@ jobs:
with:
java-version: 1.8
- name: Run tls tests
run: ./gradlew bookkeeper-server:test --tests="org.apache.bookkeeper.tls.*" -Dtestlogger.theme=plain
run: ./gradlew bookkeeper-server:test --tests="org.apache.bookkeeper.tls.*" ${GRADLE_ARGS}
@@ -310,7 +310,7 @@ allprojects {
systemProperty "currentVersion", project.rootProject.version
testLogging {
outputs.upToDateWhen {false}
showStandardStreams = true
showStandardStreams = !Boolean.getBoolean("testHideStandardOut")
}
}
dependencies {
@@ -25,6 +25,6 @@ shadowPluginVersion=6.1.0
licenseGradlePluginVersion=0.15.0
checkStyleVersion=6.19
spotbugsPlugin=4.7.0
testLogger=2.0.0
testLogger=3.1.0
testRetry=1.0.0
owaspPlugin=6.5.3
@@ -91,7 +91,6 @@ include(':bookkeeper-benchmark',
'tests:backward-compat:recovery-no-password',
'tests:backward-compat:upgrade',
'tests:backward-compat:upgrade-direct',
'tests:backward-compat:yahoo-custom-version',
'tests:integration-tests-base',
'tests:integration-tests-topologies',
'tests:integration-tests-utils',

0 comments on commit 1eae5e4

Please sign in to comment.