Skip to content

Commit

Permalink
remove sysouts
Browse files Browse the repository at this point in the history
Signed-off-by: Santhosh Gandhe <[email protected]>
  • Loading branch information
san81 committed Nov 3, 2024
1 parent 21a7c3a commit 58675e7
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ void testFailedToRenewAccessToken() {


@Test
void testGetJiraAccountCloudId() {
void testGetJiraAccountCloudId() throws InterruptedException {
Map<String, Object> mockGetCallResponse = new HashMap<>();
mockGetCallResponse.put("id", "test_cloud_id");
when(restTemplateMock.exchange(any(String.class), any(HttpMethod.class), any(HttpEntity.class), any(Class.class)))
Expand All @@ -94,8 +94,7 @@ void testGetJiraAccountCloudId() {
Future<?> secondCall = executor.submit(jiraOauthConfig::initCredentials);
while (!firstCall.isDone() || !secondCall.isDone()) {
// Do nothing. Wait for the calls to complete
System.out.println("First: " + firstCall.isDone());
System.out.println("Second: " + secondCall.isDone());
Thread.sleep(10);
}
executor.shutdown();

Expand Down

0 comments on commit 58675e7

Please sign in to comment.