Integration test compile with Java 8 and run with Java 8 and 11 (#9491)

* test integration compile with 8 and run with 11

* Integration test compile with Java 8 and run with Java 8 and 11
This commit is contained in:
Maytas Monsereenusorn 2020-03-11 09:22:27 -07:00 committed by GitHub
parent 4f085896c6
commit 9231f2acb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 46 deletions

View File

@ -341,69 +341,37 @@ jobs:
after_failure: *integration_test_diags after_failure: *integration_test_diags
# END - Integration tests for Compile with Java 8 and Run with Java 8 # END - Integration tests for Compile with Java 8 and Run with Java 8
# START - Integration tests for Compile with Java 11 and Run with Java 11 # START - Integration tests for Compile with Java 8 and Run with Java 11
- <<: *integration_batch_index - <<: *integration_batch_index
name: "(Compile=openjdk11, Run=openjdk11) batch index integration test" name: "(Compile=openjdk8, Run=openjdk11) batch index integration test"
jdk: openjdk11 jdk: openjdk8
env: TESTNG_GROUPS='-Dgroups=batch-index' JVM_RUNTIME='-Djvm.runtime=11' env: TESTNG_GROUPS='-Dgroups=batch-index' JVM_RUNTIME='-Djvm.runtime=11'
- <<: *integration_perfect_rollup_parallel_batch_index - <<: *integration_perfect_rollup_parallel_batch_index
name: "(Compile=openjdk11, Run=openjdk11) perfect rollup parallel batch index integration test" name: "(Compile=openjdk8, Run=openjdk11) perfect rollup parallel batch index integration test"
jdk: openjdk11 jdk: openjdk8
env: TESTNG_GROUPS='-Dgroups=perfect-rollup-parallel-batch-index' JVM_RUNTIME='-Djvm.runtime=11' env: TESTNG_GROUPS='-Dgroups=perfect-rollup-parallel-batch-index' JVM_RUNTIME='-Djvm.runtime=11'
- <<: *integration_kafka_index - <<: *integration_kafka_index
name: "(Compile=openjdk11, Run=openjdk11) kafka index integration test" name: "(Compile=openjdk8, Run=openjdk11) kafka index integration test"
jdk: openjdk11 jdk: openjdk8
env: TESTNG_GROUPS='-Dgroups=kafka-index' JVM_RUNTIME='-Djvm.runtime=11' env: TESTNG_GROUPS='-Dgroups=kafka-index' JVM_RUNTIME='-Djvm.runtime=11'
- <<: *integration_query - <<: *integration_query
name: "(Compile=openjdk11, Run=openjdk11) query integration test" name: "(Compile=openjdk8, Run=openjdk11) query integration test"
jdk: openjdk11 jdk: openjdk8
env: TESTNG_GROUPS='-Dgroups=query' JVM_RUNTIME='-Djvm.runtime=11' env: TESTNG_GROUPS='-Dgroups=query' JVM_RUNTIME='-Djvm.runtime=11'
- <<: *integration_realtime_index - <<: *integration_realtime_index
name: "(Compile=openjdk11, Run=openjdk11) realtime index integration test" name: "(Compile=openjdk8, Run=openjdk11) realtime index integration test"
jdk: openjdk11 jdk: openjdk8
env: TESTNG_GROUPS='-Dgroups=realtime-index' JVM_RUNTIME='-Djvm.runtime=11' env: TESTNG_GROUPS='-Dgroups=realtime-index' JVM_RUNTIME='-Djvm.runtime=11'
- <<: *integration_tests - <<: *integration_tests
name: "(Compile=openjdk11, Run=openjdk11) other integration test" name: "(Compile=openjdk8, Run=openjdk11) other integration test"
jdk: openjdk11 jdk: openjdk8
env: TESTNG_GROUPS='-DexcludedGroups=batch-index,perfect-rollup-parallel-batch-index,kafka-index,query,realtime-index' JVM_RUNTIME='-Djvm.runtime=11' env: TESTNG_GROUPS='-DexcludedGroups=batch-index,perfect-rollup-parallel-batch-index,kafka-index,query,realtime-index' JVM_RUNTIME='-Djvm.runtime=11'
# END - Integration tests for Compile with Java 11 and Run with Java 11 # END - Integration tests for Compile with Java 8 and Run with Java 11
# START - Integration tests for Compile with Java 11 and Run with Java 8
- <<: *integration_batch_index
name: "(Compile=openjdk11, Run=openjdk8) batch index integration test"
jdk: openjdk11
env: TESTNG_GROUPS='-Dgroups=batch-index' JVM_RUNTIME='-Djvm.runtime=8'
- <<: *integration_perfect_rollup_parallel_batch_index
name: "(Compile=openjdk11, Run=openjdk8) perfect rollup parallel batch index integration test"
jdk: openjdk11
env: TESTNG_GROUPS='-Dgroups=perfect-rollup-parallel-batch-index' JVM_RUNTIME='-Djvm.runtime=8'
- <<: *integration_kafka_index
name: "(Compile=openjdk11, Run=openjdk8) kafka index integration test"
jdk: openjdk11
env: TESTNG_GROUPS='-Dgroups=kafka-index' JVM_RUNTIME='-Djvm.runtime=8'
- <<: *integration_query
name: "(Compile=openjdk11, Run=openjdk8) query integration test"
jdk: openjdk11
env: TESTNG_GROUPS='-Dgroups=query' JVM_RUNTIME='-Djvm.runtime=8'
- <<: *integration_realtime_index
name: "(Compile=openjdk11, Run=openjdk8) realtime index integration test"
jdk: openjdk11
env: TESTNG_GROUPS='-Dgroups=realtime-index' JVM_RUNTIME='-Djvm.runtime=8'
- <<: *integration_tests
name: "(Compile=openjdk11, Run=openjdk8) other integration test"
jdk: openjdk11
env: TESTNG_GROUPS='-DexcludedGroups=batch-index,perfect-rollup-parallel-batch-index,kafka-index,query,realtime-index' JVM_RUNTIME='-Djvm.runtime=8'
# END - Integration tests for Compile with Java 11 and Run with Java 8
- name: "security vulnerabilities" - name: "security vulnerabilities"
stage: cron stage: cron