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 a92b9d98d1a Refactor RDLE2EIT (#35265)
a92b9d98d1a is described below

commit a92b9d98d1a0fc558e10d88896da875431d26611
Author: Liang Zhang <zhangli...@apache.org>
AuthorDate: Sat Apr 26 23:14:53 2025 +0800

    Refactor RDLE2EIT (#35265)
---
 .../shardingsphere/test/e2e/engine/type/distsql/rdl/RDLE2EIT.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/test/e2e/sql/src/test/java/org/apache/shardingsphere/test/e2e/engine/type/distsql/rdl/RDLE2EIT.java
 
b/test/e2e/sql/src/test/java/org/apache/shardingsphere/test/e2e/engine/type/distsql/rdl/RDLE2EIT.java
index 2556c2db661..ba13363d80c 100644
--- 
a/test/e2e/sql/src/test/java/org/apache/shardingsphere/test/e2e/engine/type/distsql/rdl/RDLE2EIT.java
+++ 
b/test/e2e/sql/src/test/java/org/apache/shardingsphere/test/e2e/engine/type/distsql/rdl/RDLE2EIT.java
@@ -68,14 +68,14 @@ class RDLE2EIT implements SQLE2EIT {
         SQLE2ETestContext context = new SQLE2ETestContext(testParam);
         init(context);
         try {
-            assertExecute(testParam, context);
+            assertExecute(context);
         } finally {
             tearDown(context);
         }
     }
     
-    private void assertExecute(final AssertionTestParameter testParam, final 
SQLE2ETestContext context) throws SQLException {
-        assertNotNull(testParam.getAssertion().getAssertionSQL(), "Assertion 
SQL is required");
+    private void assertExecute(final SQLE2ETestContext context) throws 
SQLException {
+        assertNotNull(context.getAssertion().getAssertionSQL(), "Assertion SQL 
is required");
         try (Connection connection = 
environmentEngine.getTargetDataSource().getConnection()) {
             try (Statement statement = connection.createStatement()) {
                 executeSQLCase(context, statement);

Reply via email to