openvidu-test-e2e: delete recordings folder on @BeforeAll

pull/203/head
pabloFuente 2019-01-27 15:54:35 +01:00
parent b6ac6461d6
commit 9cdda819b9
1 changed files with 7 additions and 0 deletions

View File

@ -130,6 +130,13 @@ public class OpenViduTestAppE2eTest {
OPENVIDU_SECRET = openvidusecret;
}
log.info("Using secret {} to connect to openvidu-server", OPENVIDU_SECRET);
try {
log.info("Deleting folder /opt/openvidu/recordings");
FileUtils.deleteDirectory(new File("/opt/openvidu/recordings"));
} catch (IOException e) {
log.error(e.getMessage());
}
}
void setupBrowser(String browser) {