mirror of https://github.com/OpenVidu/openvidu.git
openvidu-test-e2e: deleteDirectory to cleanDirectory
parent
9cdda819b9
commit
c84b5389ed
|
@ -133,7 +133,7 @@ public class OpenViduTestAppE2eTest {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
log.info("Deleting folder /opt/openvidu/recordings");
|
log.info("Deleting folder /opt/openvidu/recordings");
|
||||||
FileUtils.deleteDirectory(new File("/opt/openvidu/recordings"));
|
FileUtils.cleanDirectory(new File("/opt/openvidu/recordings"));
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
log.error(e.getMessage());
|
log.error(e.getMessage());
|
||||||
}
|
}
|
||||||
|
@ -190,9 +190,9 @@ public class OpenViduTestAppE2eTest {
|
||||||
user.dispose();
|
user.dispose();
|
||||||
if (isRecordingTest) {
|
if (isRecordingTest) {
|
||||||
try {
|
try {
|
||||||
FileUtils.deleteDirectory(new File("/opt/openvidu/recordings"));
|
FileUtils.cleanDirectory(new File("/opt/openvidu/recordings"));
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
e.printStackTrace();
|
log.error(e.getMessage());
|
||||||
}
|
}
|
||||||
isRecordingTest = false;
|
isRecordingTest = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue