Skip to content

Commit 94ccaed

Browse files
committed
Retry flakey test
1 parent adeb557 commit 94ccaed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-cloud-gateway-server-webflux/src/test/java/org/springframework/cloud/gateway/filter/ratelimit/RedisRateLimiterTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public void redisRateLimiterWorks() throws Exception {
101101
checkLimitEnforced(id, replenishRate, burstCapacity, requestedTokens, routeId);
102102
}
103103

104-
@Test
104+
@RetryingTest(3)
105105
@DisabledIfEnvironmentVariable(named = "GITHUB_ACTIONS", matches = "true")
106106
public void redisRateLimiterWorksForMultipleRoutes() throws Exception {
107107
String id = UUID.randomUUID().toString();

0 commit comments

Comments
 (0)