openvidu-test-e2e: change jave executable permissions

pull/203/head
pabloFuente 2019-01-28 11:22:15 +01:00
parent 66f0752b5f
commit 927bfcf22e
1 changed files with 3 additions and 1 deletions

View File

@ -64,7 +64,9 @@ public class MultimediaFileMetadata {
}
log.info(System.getProperty("user.name"));
this.executeCommand("ls -la /tmp/jave/");
if (iteration < 5) {
if (iteration == 0) {
this.executeCommand("chmod 777 /tmp/jave/ffmpeg*");
} else if (iteration < 5) {
this.processMultimediaFile(iteration++);
} else {
log.error("Couldn't run jave 5 iterations");