Skip to content

Commit 6160c7d

Browse files
authored
test: add comprehensive unit tests for RaftRegistryServiceImpl (#7779)
1 parent 5923c62 commit 6160c7d

3 files changed

Lines changed: 1172 additions & 14 deletions

File tree

changes/en-us/2.x.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ Add changes here for all PR submitted to the 2.x branch.
154154
- [[#7727](https://github.com/apache/incubator-seata/pull/7727)] add some UT for compatible module
155155
- [[#7803](https://github.com/apache/incubator-seata/pull/7803)] Fix flakiness in `DataCompareUtilsTest` caused by non-deterministic Map key iteration order.
156156
- [[#7804](https://github.com/apache/incubator-seata/pull/7804)] fix testXARollbackWithResourceLock() to ensure ci runs normally
157+
- [[#7779](https://github.com/apache/incubator-seata/pull/7779)] improve unit tests for RaftRegistryServiceImpl
157158
- [[#7801](https://github.com/apache/incubator-seata/pull/7801)] Fix non-deteriministic in JsonParserWrapTest#testToJSONString due to key order
158159
- [[#7800](https://github.com/apache/incubator-seata/pull/7800)] fix non-deterministic in StringUtilsTest#testToStringAndCycleDependency
159160
- [[#7802](https://github.com/apache/incubator-seata/pull/7802)] Fix non-deterministic in `ConnectionContextProxyTest`.

changes/zh-cn/2.x.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@
153153
- [[#7727](https://github.com/apache/incubator-seata/pull/7727)] 为 compatible 模块添加单测
154154
- [[#7803](https://github.com/apache/incubator-seata/pull/7803)] 修复 `DataCompareUtilsTest` 中因键迭代顺序不稳定导致的测试用例间歇性失败问题。
155155
- [[#7804](https://github.com/apache/incubator-seata/pull/7804)] 修复 testXARollbackWithResourceLock() 以确保 CI 正常运行
156+
- [[#7779](https://github.com/apache/incubator-seata/pull/7779)] 提高 RaftRegistryServiceImpl 单测覆盖
156157
- [[#7801](https://github.com/apache/incubator-seata/pull/7801)] 修复 `JsonParserWrapTest.testToJSONString` 因字段顺序不稳定导致的测试用例间歇性失败问题
157158
- [[#7800](https://github.com/apache/incubator-seata/pull/7800)] 修复 `StringUtilsTest.testToStringAndCycleDependency` 因反射字段顺序不稳定导致的测试用例间歇性失败问题
158159
- [[#7802](https://github.com/apache/incubator-seata/pull/7802)] 修复 `ConnectionContextProxyTest` 中锁键顺序不稳定导致的测试用例间歇性失败问题。

0 commit comments

Comments
 (0)