File tree 1 file changed +0
-3
lines changed
1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ TEST_CASE("test smooth_bursty_rate_limiter acquire multi permits") {
34
34
async_simple::coro::syncAwait (rate_limiter.acquire (1 ));
35
35
double cost = (current_time_mills () - start_mills) / 1000.0 ;
36
36
CHECK (cost > expected_cost - cost_diff);
37
- CHECK (cost < expected_cost + cost_diff);
38
37
}
39
38
40
39
TEST_CASE (" test smooth_bursty_rate_limiter single thread" ) {
@@ -53,7 +52,6 @@ TEST_CASE("test smooth_bursty_rate_limiter single thread") {
53
52
double cost = (current_time_mills () - start_mills) / 1000.0 ;
54
53
55
54
CHECK (cost > expected_cost - cost_diff);
56
- CHECK (cost < expected_cost + cost_diff);
57
55
}
58
56
59
57
TEST_CASE (" test smooth_bursty_rate_limiter multi coroutine" ) {
@@ -88,5 +86,4 @@ TEST_CASE("test smooth_bursty_rate_limiter multi coroutine") {
88
86
double cost = (current_time_mills () - start_mills) / 1000.0 ;
89
87
90
88
CHECK (cost > expected_cost - cost_diff);
91
- CHECK (cost < expected_cost + cost_diff);
92
89
}
You can’t perform that action at this time.
0 commit comments