diff --git a/e2e-test/e2e-test-builder/src/main/java/org/apache/seata/config/ConfigConstants.java b/e2e-test/e2e-test-builder/src/main/java/org/apache/seata/config/ConfigConstants.java index 83e2946af..a08308825 100644 --- a/e2e-test/e2e-test-builder/src/main/java/org/apache/seata/config/ConfigConstants.java +++ b/e2e-test/e2e-test-builder/src/main/java/org/apache/seata/config/ConfigConstants.java @@ -23,7 +23,7 @@ public class ConfigConstants { public static final String IMAGE_DIR = "tmp/images"; public static final String SCENE_DIR = "tmp/scene-test"; public static final String REPLACE_DIR = "tmp/replace"; - public static final String SEATA_E2E_FILE = "seata-e2e1.yaml"; + public static final String SEATA_E2E_FILE = "seata-e2e.yaml"; public static final String E2E_FILES = "e2e-files"; public static final String COMPOSE_FILE = "docker-compose.yaml"; public static final String SKY_WALKING_E2E_FILE = "e2e.yaml"; diff --git a/saga-sample/spring-seata-dubbo-saga/seata-e2e1.yaml b/saga-sample/spring-seata-dubbo-saga/seata-e2e.yaml similarity index 100% rename from saga-sample/spring-seata-dubbo-saga/seata-e2e1.yaml rename to saga-sample/spring-seata-dubbo-saga/seata-e2e.yaml diff --git a/saga-sample/spring-seata-dubbo-saga/spring-seata-dubbo-saga-consumer/src/main/java/org/apache/seata/consumer/SagaTransactionStarter.java b/saga-sample/spring-seata-dubbo-saga/spring-seata-dubbo-saga-consumer/src/main/java/org/apache/seata/consumer/SagaTransactionStarter.java index 366e3d4f2..128cd7f3b 100644 --- a/saga-sample/spring-seata-dubbo-saga/spring-seata-dubbo-saga-consumer/src/main/java/org/apache/seata/consumer/SagaTransactionStarter.java +++ b/saga-sample/spring-seata-dubbo-saga/spring-seata-dubbo-saga-consumer/src/main/java/org/apache/seata/consumer/SagaTransactionStarter.java @@ -57,9 +57,7 @@ public static void main(String[] args) throws InterruptedException { if (isInE2ETest()) { String res = "{\"res\": \"commit\"}"; writeE2EResFile(res, "commit.yaml"); - } - if (isInE2ETest()) { - String res = "{\"res\": \"rollback\"}"; + res = "{\"res\": \"rollback\"}"; writeE2EResFile(res, "rollback.yaml"); } //keep run