fix kafka e2e testing (#6217)

This commit is contained in:
Daming 2021-01-16 20:41:46 +08:00 committed by GitHub
parent 020a995301
commit 9021e67912
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 28 deletions

View File

@ -26,6 +26,7 @@ on:
env:
SW_AGENT_JDK_VERSION: 8
SW_STORAGE: influxdb
jobs:
Kafka:
@ -41,6 +42,8 @@ jobs:
class: org.apache.skywalking.e2e.kafka.KafkaProfileE2E
- name: Meter
class: org.apache.skywalking.e2e.kafka.KafkaMeterE2E
- name: Log
class: org.apache.skywalking.e2e.kafka.KafkaLogE2E
steps:
- uses: actions/checkout@v2
with:
@ -61,31 +64,3 @@ jobs:
with:
name: logs
path: logs
log:
name: Kafka(log)
runs-on: ubuntu-latest
timeout-minutes: 90
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Compile and Build
run: make docker
- name: Copy dist package
run: cp -R dist test/e2e/
- name: Kafka Log
run: ./mvnw --batch-mode -f test/e2e/pom.xml -am -DfailIfNoTests=false verify -Dit.test=org.apache.skywalking.e2e.kafka.KafkaLogE2E
- name: Report Coverage
run: bash -x tools/coverage/report.sh
- uses: actions/upload-artifact@v1
if: failure()
with:
name: logs
path: logs