You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by pa...@apache.org on 2024/02/02 06:11:28 UTC

(shardingsphere) branch master updated: Rename properties to props for variable name (#29963)

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

panjuan 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 faf9f91a232 Rename properties to props for variable name (#29963)
faf9f91a232 is described below

commit faf9f91a23285228e0a1a7016c751723d43eceaa
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Fri Feb 2 14:11:22 2024 +0800

    Rename properties to props for variable name (#29963)
---
 .../distsql/rdl/resource/AlterStorageUnitExecutorTest.java        | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/proxy/backend/core/src/test/java/org/apache/shardingsphere/proxy/backend/handler/distsql/rdl/resource/AlterStorageUnitExecutorTest.java b/proxy/backend/core/src/test/java/org/apache/shardingsphere/proxy/backend/handler/distsql/rdl/resource/AlterStorageUnitExecutorTest.java
index 3cda107ee25..9a95d392529 100644
--- a/proxy/backend/core/src/test/java/org/apache/shardingsphere/proxy/backend/handler/distsql/rdl/resource/AlterStorageUnitExecutorTest.java
+++ b/proxy/backend/core/src/test/java/org/apache/shardingsphere/proxy/backend/handler/distsql/rdl/resource/AlterStorageUnitExecutorTest.java
@@ -69,8 +69,8 @@ class AlterStorageUnitExecutorTest {
     void assertExecuteUpdate() {
         ResourceMetaData resourceMetaData = mock(ResourceMetaData.class, RETURNS_DEEP_STUBS);
         StorageUnit storageUnit = mock(StorageUnit.class, RETURNS_DEEP_STUBS);
-        ConnectionProperties connectionProperties = mockConnectionProperties("ds_0");
-        when(storageUnit.getConnectionProperties()).thenReturn(connectionProperties);
+        ConnectionProperties connectionProps = mockConnectionProperties("ds_0");
+        when(storageUnit.getConnectionProperties()).thenReturn(connectionProps);
         when(resourceMetaData.getStorageUnits()).thenReturn(Collections.singletonMap("ds_0", storageUnit));
         when(database.getResourceMetaData()).thenReturn(resourceMetaData);
         executor.setDatabase(database);
@@ -98,8 +98,8 @@ class AlterStorageUnitExecutorTest {
         when(ProxyContext.getInstance().getContextManager()).thenReturn(contextManager);
         ResourceMetaData resourceMetaData = mock(ResourceMetaData.class, RETURNS_DEEP_STUBS);
         StorageUnit storageUnit = mock(StorageUnit.class, RETURNS_DEEP_STUBS);
-        ConnectionProperties connectionProperties = mockConnectionProperties("ds_1");
-        when(storageUnit.getConnectionProperties()).thenReturn(connectionProperties);
+        ConnectionProperties connectionProps = mockConnectionProperties("ds_1");
+        when(storageUnit.getConnectionProperties()).thenReturn(connectionProps);
         when(resourceMetaData.getStorageUnits()).thenReturn(Collections.singletonMap("ds_0", storageUnit));
         when(database.getResourceMetaData()).thenReturn(resourceMetaData);
         executor.setDatabase(database);