Skip to content

Commit 1c24832

Browse files
committed
revert expected test durations
1 parent 09cc03e commit 1c24832

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/test/java/com/github/stickerifier/stickerify/media/MediaHelperTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ void convertShortAndLowFpsVideo() throws Exception {
188188
var webmVideo = loadResource("short_low_fps.webm");
189189
var result = MediaHelper.convert(webmVideo);
190190

191-
assertVideoConsistency(result, 512, 288, 10F, 900L);
191+
assertVideoConsistency(result, 512, 288, 10F, 1_000L);
192192
}
193193

194194
@Test
@@ -204,23 +204,23 @@ void convertVerticalWebmVideo() throws Exception {
204204
var webmVideo = loadResource("vertical_video_sticker.webm");
205205
var result = MediaHelper.convert(webmVideo);
206206

207-
assertVideoConsistency(result, 288, 512, 30F, 1_970L);
207+
assertVideoConsistency(result, 288, 512, 30F, 2_000L);
208208
}
209209

210210
@Test
211211
void convertGifVideo() throws Exception {
212212
var gifVideo = loadResource("valid.gif");
213213
var result = MediaHelper.convert(gifVideo);
214214

215-
assertVideoConsistency(result, 512, 274, 10F, 900L);
215+
assertVideoConsistency(result, 512, 274, 10F, 1_000L);
216216
}
217217

218218
@Test
219219
void convertAviVideo() throws Exception {
220220
var aviVideo = loadResource("valid.avi");
221221
var result = MediaHelper.convert(aviVideo);
222222

223-
assertVideoConsistency(result, 512, 512, 30F, 2_970L);
223+
assertVideoConsistency(result, 512, 512, 30F, 3_000L);
224224
}
225225

226226
@Test

0 commit comments

Comments
 (0)