openvidu-test-e2e: remove path from stt service kill command

pull/763/head
pabloFuente 2022-11-17 14:06:59 +01:00
parent 94940dc247
commit ab1f7c4688
1 changed files with 1 additions and 1 deletions

View File

@ -1798,7 +1798,7 @@ public class OpenViduProTestAppE2eTest extends AbstractOpenViduTestappE2eTest {
String containerId = restClient.rest(HttpMethod.GET, "/openvidu/api/media-nodes", HttpStatus.SC_OK)
.get("content").getAsJsonArray().get(0).getAsJsonObject().get("environmentId").getAsString();
String killCommand = "docker exec -i " + containerId
+ " /bin/sh -c \"ps axf | grep \\\"dist/bin/speech-to-text-service\\\" | grep -v grep | awk '{print \\$1}' | xargs -I {} kill -9 {}\"";
+ " /bin/sh -c \"ps axf | grep \\\"speech-to-text-service\\\" | grep -v grep | awk '{print \\$1}' | xargs -I {} kill -9 {}\"";
commandLine.executeCommand(killCommand, 10);
}