From f0fc48d6adaa4d29cb103b07bfcf73aa2f4ed1a1 Mon Sep 17 00:00:00 2001 From: ccellado Date: Mon, 18 Mar 2024 17:17:09 +0400 Subject: [PATCH] Remove old docker library Fix integration specs Deprecate OpenApiSpec --- src/it/scala/org/ergoplatform/it/api/NodeApi.scala | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/it/scala/org/ergoplatform/it/api/NodeApi.scala b/src/it/scala/org/ergoplatform/it/api/NodeApi.scala index e059e3e7d1..c200afe98d 100644 --- a/src/it/scala/org/ergoplatform/it/api/NodeApi.scala +++ b/src/it/scala/org/ergoplatform/it/api/NodeApi.scala @@ -130,17 +130,13 @@ trait NodeApi { interval: FiniteDuration = 1.second, statusCode: Int = HttpConstants.ResponseStatusCodes.OK_200): Future[Response] = { def executeRequest: Future[Response] = { -// log.info(s"Executing request '$request'") log.trace(s"Executing request '$request'") client.executeRequest(request, new AsyncCompletionHandler[Response] { override def onCompleted(response: Response): Response = { if (response.getStatusCode == statusCode) { -// log.info(s"Request: ${request.getUrl} \n Response: ${response.getResponseBody}") log.debug(s"Request: ${request.getUrl} \n Response: ${response.getResponseBody}") response } else { -// log.info(s"Request: ${request.getUrl} \n Unexpected status code(${response.getStatusCode}): " + -// s"${response.getResponseBody}") log.debug(s"Request: ${request.getUrl} \n Unexpected status code(${response.getStatusCode}): " + s"${response.getResponseBody}") throw UnexpectedStatusCodeException(request, response) @@ -149,7 +145,6 @@ trait NodeApi { }).toCompletableFuture.toScala .recoverWith { case e@(_: IOException | _: TimeoutException) => -// log.info(s"Failed to execute request '$request' with error: ${e.getMessage}") log.debug(s"Failed to execute request '$request' with error: ${e.getMessage}") timer.schedule(executeRequest, interval) }