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

mikexue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/eventmesh.git


The following commit(s) were added to refs/heads/master by this push:
     new 91daa3f57 Update RedisPropertiesTest.java
     new d5e5a0f97 Merge pull request #3638 from harshithasudhakar/patch-10
91daa3f57 is described below

commit 91daa3f57258799419c965167733c4e7ef988f5f
Author: Harshitha Sudhakar 
<[email protected]>
AuthorDate: Thu Apr 6 23:07:28 2023 +0530

    Update RedisPropertiesTest.java
    
    Swapped actual and expected values in the lines 37-39 and 45.
---
 .../eventmesh/storage/redis/config/RedisPropertiesTest.java    | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git 
a/eventmesh-storage-plugin/eventmesh-storage-redis/src/test/java/org/apache/eventmesh/storage/redis/config/RedisPropertiesTest.java
 
b/eventmesh-storage-plugin/eventmesh-storage-redis/src/test/java/org/apache/eventmesh/storage/redis/config/RedisPropertiesTest.java
index ad4e97785..5ee9eddf2 100644
--- 
a/eventmesh-storage-plugin/eventmesh-storage-redis/src/test/java/org/apache/eventmesh/storage/redis/config/RedisPropertiesTest.java
+++ 
b/eventmesh-storage-plugin/eventmesh-storage-redis/src/test/java/org/apache/eventmesh/storage/redis/config/RedisPropertiesTest.java
@@ -34,14 +34,14 @@ public class RedisPropertiesTest {
     }
 
     private void assertConfig(RedisProperties config) {
-        Assert.assertEquals(config.getServerAddress(), 
"redis://127.0.0.1:6379");
-        Assert.assertEquals(config.getServerType(), 
RedisProperties.ServerType.SINGLE);
-        Assert.assertEquals(config.getServerMasterName(), 
"serverMasterName-success!!!");
+        Assert.assertEquals("redis://127.0.0.1:6379", 
config.getServerAddress());
+        Assert.assertEquals(RedisProperties.ServerType.SINGLE, 
config.getServerType());
+        Assert.assertEquals("serverMasterName-success!!!", 
config.getServerMasterName());
 
         Properties properties = new Properties();
         properties.put("threads", "2");
         properties.put("nettyThreads", "2");
         Properties redissonProperties = config.getRedissonProperties();
-        Assert.assertEquals(redissonProperties, properties);
+        Assert.assertEquals(properties, redissonProperties);
     }
-}
\ No newline at end of file
+}


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to