From 6bbefadb9d33917ad5cc1d183288ac580b150e8c Mon Sep 17 00:00:00 2001
From: Tristan Matthews <tristan.matthews@savoirfairelinux.com>
Date: Tue, 17 Jul 2012 17:33:47 -0400
Subject: [PATCH] * #13650: added video test case to reproduce bug

---
 daemon/src/video/test/test_video_preview.cpp | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/daemon/src/video/test/test_video_preview.cpp b/daemon/src/video/test/test_video_preview.cpp
index 6a9e6d8e21..f295fd2ba3 100644
--- a/daemon/src/video/test/test_video_preview.cpp
+++ b/daemon/src/video/test/test_video_preview.cpp
@@ -44,12 +44,14 @@ void VideoPreviewTest::testPreview()
     args["height"] = "480";
 
     sfl_video::VideoPreview preview(args);
-    sleep(10);
+    sleep(1);
 }
 
 int main ()
 {
-    VideoPreviewTest test;
-    test.testPreview();
+    for (int i = 0; i < 20; ++i) {
+        VideoPreviewTest test;
+        test.testPreview();
+    }
     return 0;
 }
-- 
GitLab