This is an automated email from the ASF dual-hosted git repository.

jianglongtao 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 8f735b70244 Remove unless unit  test (#32194)
8f735b70244 is described below

commit 8f735b702441a49f0dc642465fe70675506eef74
Author: zhaojinchao <[email protected]>
AuthorDate: Sat Jul 20 11:45:36 2024 +0800

    Remove unless unit  test (#32194)
---
 .../test/e2e/driver/statement/EncryptPreparedStatementTest.java     | 6 ------
 .../test/e2e/driver/statement/EncryptStatementTest.java             | 6 ------
 2 files changed, 12 deletions(-)

diff --git 
a/test/e2e/driver/src/test/java/org/apache/shardingsphere/test/e2e/driver/statement/EncryptPreparedStatementTest.java
 
b/test/e2e/driver/src/test/java/org/apache/shardingsphere/test/e2e/driver/statement/EncryptPreparedStatementTest.java
index c9632c76be5..054231c088e 100644
--- 
a/test/e2e/driver/src/test/java/org/apache/shardingsphere/test/e2e/driver/statement/EncryptPreparedStatementTest.java
+++ 
b/test/e2e/driver/src/test/java/org/apache/shardingsphere/test/e2e/driver/statement/EncryptPreparedStatementTest.java
@@ -17,7 +17,6 @@
 
 package org.apache.shardingsphere.test.e2e.driver.statement;
 
-import org.apache.shardingsphere.infra.config.props.ConfigurationPropertyKey;
 import org.apache.shardingsphere.test.e2e.driver.AbstractEncryptDriverTest;
 import org.junit.jupiter.api.Test;
 
@@ -54,11 +53,6 @@ class EncryptPreparedStatementTest extends 
AbstractEncryptDriverTest {
     
     private static final String SELECT_SQL_WITH_IN_OPERATOR = "SELECT * FROM 
t_query_encrypt WHERE pwd IN (?)";
     
-    @Test
-    void assertSQLShow() {
-        
assertTrue(getEncryptConnectionWithProps().getContextManager().getMetaDataContexts().getMetaData().getProps().<Boolean>getValue(ConfigurationPropertyKey.SQL_SHOW));
-    }
-    
     @Test
     void assertInsertWithExecute() throws SQLException {
         try (PreparedStatement preparedStatement = 
getEncryptConnection().prepareStatement(INSERT_SQL)) {
diff --git 
a/test/e2e/driver/src/test/java/org/apache/shardingsphere/test/e2e/driver/statement/EncryptStatementTest.java
 
b/test/e2e/driver/src/test/java/org/apache/shardingsphere/test/e2e/driver/statement/EncryptStatementTest.java
index 8407136c081..b8f3d72cec2 100644
--- 
a/test/e2e/driver/src/test/java/org/apache/shardingsphere/test/e2e/driver/statement/EncryptStatementTest.java
+++ 
b/test/e2e/driver/src/test/java/org/apache/shardingsphere/test/e2e/driver/statement/EncryptStatementTest.java
@@ -17,7 +17,6 @@
 
 package org.apache.shardingsphere.test.e2e.driver.statement;
 
-import org.apache.shardingsphere.infra.config.props.ConfigurationPropertyKey;
 import org.apache.shardingsphere.test.e2e.driver.AbstractEncryptDriverTest;
 import org.junit.jupiter.api.Test;
 
@@ -55,11 +54,6 @@ class EncryptStatementTest extends AbstractEncryptDriverTest 
{
     
     private static final String SHOW_COLUMNS_SQL = "SHOW columns FROM 
t_encrypt";
     
-    @Test
-    void assertSQLShow() {
-        
assertTrue(getEncryptConnectionWithProps().getContextManager().getMetaDataContexts().getMetaData().getProps().<Boolean>getValue(ConfigurationPropertyKey.SQL_SHOW));
-    }
-    
     @Test
     void assertInsertWithExecute() throws SQLException {
         try (Statement statement = getEncryptConnection().createStatement()) {

Reply via email to