From 71882e6c5c636143e4f498cc7d07fd921273e957 Mon Sep 17 00:00:00 2001 From: hengyuss <1183660933@qq.com> Date: Wed, 11 Nov 2026 21:05:26 +0800 Subject: [PATCH] fix(e2e): isolate SOFA data sync test --- script/plugin-store/run-sofa-original-suites.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/script/plugin-store/run-sofa-original-suites.sh b/script/plugin-store/run-sofa-original-suites.sh index 384d1fb..ab77629 100755 --- a/script/plugin-store/run-sofa-original-suites.sh +++ b/script/plugin-store/run-sofa-original-suites.sh @@ -468,7 +468,11 @@ run_e2e() { if [[ "${COMPOSE_STARTED}" != "true" ]]; then start_compose fi - run_logged sofa-original-e2e mvn -B -ntp -f "${REPO_DIR}/shenyu-e2e/pom.xml" -pl shenyu-e2e-case/shenyu-e2e-case-sofa -am -Dtest='DataSynTest,SofaPluginTest' -DfailIfNoTests=false test -Drat.skip=true -Djacoco.skip=true + # SofaPluginTest deletes all selectors, including the provider registrations + # required by DataSynTest. Run the data-sync check first in a separate + # Surefire invocation so the tests do not depend on class execution order. + run_logged sofa-original-e2e-data-sync mvn -B -ntp -f "${REPO_DIR}/shenyu-e2e/pom.xml" -pl shenyu-e2e-case/shenyu-e2e-case-sofa -am -Dtest='DataSynTest' -DfailIfNoTests=false test -Drat.skip=true -Djacoco.skip=true + run_logged sofa-original-e2e-plugin mvn -B -ntp -f "${REPO_DIR}/shenyu-e2e/pom.xml" -pl shenyu-e2e-case/shenyu-e2e-case-sofa -am -Dtest='SofaPluginTest' -DfailIfNoTests=false test -Drat.skip=true -Djacoco.skip=true } load_kind_image() {