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(),