From 9f52554cf2fa3a2f9af77aba2a0d13851829ca14 Mon Sep 17 00:00:00 2001 From: zhichao-aws Date: Wed, 27 Sep 2023 14:46:17 +0800 Subject: [PATCH] remove print stack trace Signed-off-by: zhichao-aws --- .../opensearch/neuralsearch/common/BaseNeuralSearchIT.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/test/java/org/opensearch/neuralsearch/common/BaseNeuralSearchIT.java b/src/test/java/org/opensearch/neuralsearch/common/BaseNeuralSearchIT.java index 0d26ccbba..37733adbf 100644 --- a/src/test/java/org/opensearch/neuralsearch/common/BaseNeuralSearchIT.java +++ b/src/test/java/org/opensearch/neuralsearch/common/BaseNeuralSearchIT.java @@ -551,11 +551,7 @@ protected void deleteModel(String modelId) { ); // after model undeploy returns, the max interval to update model status is 3s in ml-commons CronJob. - try { - Thread.sleep(3000); - } catch (InterruptedException e) { - e.printStackTrace(); - } + Thread.sleep(3000); makeRequest( client(),