Skip to content

Commit

Permalink
try to fix security test
Browse files Browse the repository at this point in the history
Signed-off-by: xinyual <[email protected]>
  • Loading branch information
xinyual committed Feb 1, 2025
1 parent 8da1d58 commit 7e8d801
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ public void setupTestAgent() throws IOException, InterruptedException {
clusterSettings(false);
connectorId = setUpConnectorWithRetry(5);
TimeUnit.SECONDS.sleep(3);
log.info(queryConnector());
JsonObject tmp = queryConnector();
log.info(tmp);
log.debug(tmp);
log.error(tmp);
assertTrue(tmp.get("hits").getAsJsonObject().get("total").getAsJsonObject().get("value").getAsInt() > 0);
modelGroupId = setupModelGroup();
modelId = setupLLMModel(connectorId, modelGroupId);
// wait for model to get deployed
Expand Down

0 comments on commit 7e8d801

Please sign in to comment.