Ut change note for english (#12432)

* 添加Jackson序列化器
支持Jackson序列化器扩展配置
代码格式化调整

* Jackson module 注册错误忽略异常

* Jackson module 注册错误忽略异常

* add LdapJackson2Module Jackson module

* add spi to dubbo-all pom config

* remove unused code

* undo remove code

* Run CI

* merge conflict

* ignore codec error

* Change log output

* Add log error code

* Add sliding window stat

* fix checkstyle

* rename and version change

* MetricsKey rename

* MetricsKey rename

* change ut

* Ut change note for english

---------

Co-authored-by: songxiaosheng <songxiaosheng@elastic.link>
This commit is contained in:
jojocodeX 2023-05-31 18:54:07 +08:00 committed by GitHub
parent 891277912a
commit 1835a106c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 3 deletions

View File

@ -27,7 +27,8 @@ public class TimeWindowAggregatorTest {
public void testTimeWindowAggregator() {
TimeWindowAggregator aggregator = new TimeWindowAggregator(5, 5);
// 第一个时间窗口时间范围0秒 - 5秒
//First time window, time range: 0 - 5 seconds
aggregator.add(10);
aggregator.add(20);
aggregator.add(30);
@ -39,7 +40,7 @@ public class TimeWindowAggregatorTest {
Assertions.assertEquals(30, entry1.getMax());
Assertions.assertEquals(10, entry1.getMin());
// 第二个时间窗口时间范围5秒 - 10秒
//Second time window, time range: 5 - 10 seconds
try {
TimeUnit.SECONDS.sleep(5);
} catch (InterruptedException e) {
@ -57,7 +58,9 @@ public class TimeWindowAggregatorTest {
Assertions.assertEquals(35, entry2.getMax());
Assertions.assertEquals(15, entry2.getMin());
// 第三个时间窗口时间范围10秒 - 15秒
//Third time window, time range: 10 - 15 seconds
try {
TimeUnit.SECONDS.sleep(5);
} catch (InterruptedException e) {