From 9133c51dff572ea3717f0cc4b47663efd983fd7f Mon Sep 17 00:00:00 2001 From: petruki <31597636+petruki@users.noreply.github.com> Date: Thu, 5 Jun 2025 20:32:31 -0700 Subject: [PATCH] chore: removed delay from test --- .../switcherapi/ac/controller/AdminAuthControllerTests.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/test/java/com/github/switcherapi/ac/controller/AdminAuthControllerTests.java b/src/test/java/com/github/switcherapi/ac/controller/AdminAuthControllerTests.java index be3a18c..eee2544 100644 --- a/src/test/java/com/github/switcherapi/ac/controller/AdminAuthControllerTests.java +++ b/src/test/java/com/github/switcherapi/ac/controller/AdminAuthControllerTests.java @@ -94,9 +94,6 @@ void shouldNotRefreshToken_missingToken() throws Exception { @SwitcherTest(key = "SWITCHER_AC_ADM", result = false) @Execution(ExecutionMode.SAME_THREAD) void shouldNotRefreshToken_accountUnauthorized() throws Exception { - var count = new CountDownLatch(1); - assertFalse(count.await(1, TimeUnit.SECONDS)); - this.mockMvc.perform(post("/admin/v1/auth/refresh") .contentType(MediaType.APPLICATION_JSON) .header(HttpHeaders.AUTHORIZATION, "Bearer " + tokens.getLeft())