xuxiaowei-com-cn commented on code in PR #8054:
URL: https://github.com/apache/incubator-seata/pull/8054#discussion_r3159920529


##########
server/src/test/java/org/apache/seata/server/storage/redis/store/RedisTransactionStoreManagerTest.java:
##########
@@ -254,7 +253,7 @@ public void testInsertGlobalTransactionDO() throws 
Exception {
             Assertions.assertTrue(statusList.contains("testGlobalXid:111"));
 
             // Verify timeout sorted set
-            Set<String> timeoutSet = 
jedis.zrangeByScore("SEATA_BEGIN_TRANSACTIONS", 0, Double.MAX_VALUE);
+            List<String> timeoutSet = 
jedis.zrangeByScore("SEATA_BEGIN_TRANSACTIONS", 0, Double.MAX_VALUE);
             Assertions.assertTrue(timeoutSet.contains(globalKey));

Review Comment:
   - Same as above.
   - 和上面一样。



##########
server/src/test/java/org/apache/seata/server/storage/redis/store/RedisTransactionStoreManagerTest.java:
##########
@@ -292,7 +291,7 @@ public void testDeleteGlobalTransactionDO() throws 
Exception {
             List<String> statusList = jedis.lrange(statusKey, 0, -1);
             Assertions.assertFalse(statusList.contains("testGlobalXid:222"));
 
-            Set<String> timeoutSet = 
jedis.zrangeByScore("SEATA_BEGIN_TRANSACTIONS", 0, Double.MAX_VALUE);
+            List<String> timeoutSet = 
jedis.zrangeByScore("SEATA_BEGIN_TRANSACTIONS", 0, Double.MAX_VALUE);
             Assertions.assertFalse(timeoutSet.contains(globalKey));

Review Comment:
   - Same as above.
   - 和上面一样。



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to