mirror of https://github.com/OpenVidu/openvidu.git
openvidu-test-e2e: file duration check improved failure message
parent
8e5be407f5
commit
251419e9ed
|
@ -2084,7 +2084,7 @@ public class OpenViduTestAppE2eTest {
|
||||||
final double difference = 0.3;
|
final double difference = 0.3;
|
||||||
Assert.assertTrue(
|
Assert.assertTrue(
|
||||||
"Difference between recording entity duration (" + duration + ") and real video duration ("
|
"Difference between recording entity duration (" + duration + ") and real video duration ("
|
||||||
+ metadata.getDuration() + ") is greater than " + difference,
|
+ metadata.getDuration() + ") is greater than " + difference + " in file " + file.getName(),
|
||||||
Math.abs((metadata.getDuration() - duration)) < difference);
|
Math.abs((metadata.getDuration() - duration)) < difference);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue