You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2025/09/21 04:51:48 UTC
(shardingsphere) branch master updated: Refactor E2ETestEnvironment (#36651)
This is an automated email from the ASF dual-hosted git repository.
zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new b9794a52cf7 Refactor E2ETestEnvironment (#36651)
b9794a52cf7 is described below
commit b9794a52cf7301f55e3f556bcbe179ef8ec7c0b7
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Sun Sep 21 12:51:42 2025 +0800
Refactor E2ETestEnvironment (#36651)
---
.../test/e2e/env/runtime/E2ETestEnvironment.java | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/test/e2e/env/src/test/java/org/apache/shardingsphere/test/e2e/env/runtime/E2ETestEnvironment.java b/test/e2e/env/src/test/java/org/apache/shardingsphere/test/e2e/env/runtime/E2ETestEnvironment.java
index 6cd16263f7c..8b769c522eb 100644
--- a/test/e2e/env/src/test/java/org/apache/shardingsphere/test/e2e/env/runtime/E2ETestEnvironment.java
+++ b/test/e2e/env/src/test/java/org/apache/shardingsphere/test/e2e/env/runtime/E2ETestEnvironment.java
@@ -41,22 +41,22 @@ public final class E2ETestEnvironment {
private final RunEnvironment runEnvironment;
- private final Collection<String> scenarios;
-
- private final String governanceCenter;
-
private final ClusterEnvironment clusterEnvironment;
private final NativeStorageEnvironment nativeStorageEnvironment;
+ private final Collection<String> scenarios;
+
+ private final String governanceCenter;
+
private E2ETestEnvironment() {
Properties props = loadProperties();
TimeZone.setDefault(TimeZone.getTimeZone(props.getProperty("it.timezone", "UTC")));
runEnvironment = new RunEnvironment(props);
- scenarios = getScenarios(props);
- governanceCenter = props.getProperty("it.env.governance.center");
clusterEnvironment = new ClusterEnvironment(props);
nativeStorageEnvironment = new NativeStorageEnvironment(props);
+ scenarios = getScenarios(props);
+ governanceCenter = props.getProperty("it.env.governance.center");
}
@SneakyThrows(IOException.class)