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

Remove retries from executor metrics test fix; use the pre-existing countdown latch in GreetService instead #5109

Merged
merged 6 commits into from
Oct 10, 2022
Prev Previous commit
Fix typo in comment
  • Loading branch information
tjquinno committed Oct 7, 2022
commit 8f181b4c161358447d1bea992f49dc00afc006a3
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ void checkMetricsForExecutorService() throws InterruptedException {

// Because ThreadPoolExecutor methods are documented as reporting approximations of task counts, etc., we should
// not depend on the values changing in a reasonable time period...or at all. So this test simply makes sure that
// an expected metrics is present.
// an expected metric is present.
String jsonKeyForCompleteTaskCountInThreadPool =
"executor-service.completed-task-count;poolIndex=0;supplierCategory=my-thread-thread-pool-1;supplierIndex=0";

Expand Down