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 2024/11/30 03:49:43 UTC

(shardingsphere) branch master updated: Remove useless codes on E2EEnvironmentEngine (#33844)

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 7e96eccc2ba Remove useless codes on E2EEnvironmentEngine (#33844)
7e96eccc2ba is described below

commit 7e96eccc2ba14291f0ed5314a5297f5689927c3a
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Sat Nov 30 11:49:37 2024 +0800

    Remove useless codes on E2EEnvironmentEngine (#33844)
---
 .../apache/shardingsphere/test/e2e/env/E2EEnvironmentEngine.java    | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/test/e2e/sql/src/test/java/org/apache/shardingsphere/test/e2e/env/E2EEnvironmentEngine.java b/test/e2e/sql/src/test/java/org/apache/shardingsphere/test/e2e/env/E2EEnvironmentEngine.java
index fafb4665143..b1eb9e3b03c 100644
--- a/test/e2e/sql/src/test/java/org/apache/shardingsphere/test/e2e/env/E2EEnvironmentEngine.java
+++ b/test/e2e/sql/src/test/java/org/apache/shardingsphere/test/e2e/env/E2EEnvironmentEngine.java
@@ -23,7 +23,6 @@ import org.apache.shardingsphere.infra.database.core.DefaultDatabase;
 import org.apache.shardingsphere.infra.database.core.type.DatabaseType;
 import org.apache.shardingsphere.test.e2e.container.compose.ContainerComposer;
 import org.apache.shardingsphere.test.e2e.container.compose.ContainerComposerRegistry;
-import org.apache.shardingsphere.test.e2e.engine.TotalSuitesCountCalculator;
 import org.apache.shardingsphere.test.e2e.env.container.atomic.enums.AdapterMode;
 import org.apache.shardingsphere.test.e2e.env.container.atomic.enums.AdapterType;
 import org.apache.shardingsphere.test.e2e.env.runtime.scenario.path.ScenarioDataPath;
@@ -40,7 +39,6 @@ import java.util.Collection;
 import java.util.HashSet;
 import java.util.Map;
 import java.util.Optional;
-import java.util.concurrent.atomic.AtomicInteger;
 
 /**
  * E2E container composer.
@@ -50,10 +48,6 @@ public final class E2EEnvironmentEngine {
     
     private static final ContainerComposerRegistry CONTAINER_COMPOSER_REGISTRY = new ContainerComposerRegistry();
     
-    private static final int TOTAL_SUITES_COUNT = TotalSuitesCountCalculator.calculate();
-    
-    private static final AtomicInteger COMPLETED_SUITES_COUNT = new AtomicInteger(0);
-    
     private static final Collection<String> INITIALIZED_SUITES = new HashSet<>();
     
     private final ContainerComposer containerComposer;