From 4c02ebacd4c5c8696ec6fe5ac7fa56bfabca4ea0 Mon Sep 17 00:00:00 2001 From: Lari Hotari Date: Thu, 5 Jan 2023 11:16:32 +0200 Subject: [PATCH] Reproduce duplicate test id issue with https://github.com/apache/pulsar/pull/19133 --- .gitignore | 1 - .mvn/{ge-extensions.xml => extensions.xml} | 0 .mvn/gradle-enterprise.xml | 49 ++++------------------ repro_ge_duplicate_test_id_issue.sh | 5 +++ 4 files changed, 12 insertions(+), 43 deletions(-) rename .mvn/{ge-extensions.xml => extensions.xml} (100%) create mode 100755 repro_ge_duplicate_test_id_issue.sh diff --git a/.gitignore b/.gitignore index c584baaa0a0b8..cd00c44200059 100644 --- a/.gitignore +++ b/.gitignore @@ -97,4 +97,3 @@ test-reports/ # Gradle Enterprise .mvn/.gradle-enterprise/ -.mvn/extensions.xml diff --git a/.mvn/ge-extensions.xml b/.mvn/extensions.xml similarity index 100% rename from .mvn/ge-extensions.xml rename to .mvn/extensions.xml diff --git a/.mvn/gradle-enterprise.xml b/.mvn/gradle-enterprise.xml index 3321acacbd131..be72089506e53 100644 --- a/.mvn/gradle-enterprise.xml +++ b/.mvn/gradle-enterprise.xml @@ -1,47 +1,12 @@ - - - https://ge.apache.org - false - - - true - - true - true - - #{isFalse(env['GITHUB_ACTIONS'])} - ALWAYS - true - - #{{'0.0.0.0'}} - - - - - true - - + + ALWAYS + + https://gradle.com/terms-of-service + true + + diff --git a/repro_ge_duplicate_test_id_issue.sh b/repro_ge_duplicate_test_id_issue.sh new file mode 100755 index 0000000000000..27e2cd2431202 --- /dev/null +++ b/repro_ge_duplicate_test_id_issue.sh @@ -0,0 +1,5 @@ +#!/bin/bash -x +if [ ! -d target ]; then + mvn -T 1C -ntp -Pcore-modules,-main clean install -DskipTests -Dlicense.skip=true -Drat.skip=true -Dcheckstyle.skip=true +fi +mvn -pl pulsar-broker -Dtest=SimpleSchemaTest test \ No newline at end of file