Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix flaky tests and fix passDefaultLocalCheck #3367

Merged
merged 7 commits into from
Apr 17, 2024
Prev Previous commit
Next Next commit
fix quarkus test by set /txt sleep 300
* If /txt sleep 500 ms, in testSentinelJaxRsQuarkusAdapter, may cause 2 request intervals of more than 1 s, which cause rate limit policy is not effective.
  • Loading branch information
robberphex committed Mar 28, 2024
commit 3fbf7a16838c64a3f05ffc94c9a3c0faa6b551b2
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 1999-2020 Alibaba Group Holding Ltd.
* Copyright 1999-2024 Alibaba Group Holding Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -37,7 +37,7 @@ public class GreetingResource {
@Path("/txt")
@Produces(MediaType.TEXT_PLAIN)
public String hello() throws InterruptedException {
TimeUnit.MILLISECONDS.sleep(500);
TimeUnit.MILLISECONDS.sleep(300);
return "hello";
}

Expand Down