From bb3ff4e348e6b56afcf9dabfef7343602e031113 Mon Sep 17 00:00:00 2001 From: burak Date: Wed, 25 Dec 2024 21:25:23 +0300 Subject: [PATCH] fix test case --- src/test/java/io/antmedia/test/StreamFetcherUnitTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/io/antmedia/test/StreamFetcherUnitTest.java b/src/test/java/io/antmedia/test/StreamFetcherUnitTest.java index 011ebc3f5..37ba9e3b7 100644 --- a/src/test/java/io/antmedia/test/StreamFetcherUnitTest.java +++ b/src/test/java/io/antmedia/test/StreamFetcherUnitTest.java @@ -973,7 +973,7 @@ public void testHLSSourceFmp4() { String[] filesInStreams = new File("webapps/junit/streams").list(); boolean initFileFound = false; - String regex = streamId + "_" + System.currentTimeMillis()/10000 + "\\d{4}_init.mp4"; + String regex = streamId + "_" + System.currentTimeMillis()/100000 + "\\d{5}_init.mp4"; System.out.println("regex:"+regex); for (int i = 0; i < filesInStreams.length; i++) {