summaryrefslogtreecommitdiff
path: root/tests
diff options
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2017-09-20 18:08:16 +0200
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2017-09-20 18:08:16 +0200
commit9be8ff33679ff128d43eb76d2f3ca9651e85be4a (patch)
treee957626f4b43372e50c29f41cc7e4146aedcfe1d /tests
parentd67ac48b7f8f1769b9f3bcc59e357dba9454f688 (diff)
TestThumbnailGenerator: increase the max wait for single tests
(bzr r4253.1.16)
Diffstat (limited to 'tests')
-rw-r--r--tests/test_thumbnail_generator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_thumbnail_generator.cpp b/tests/test_thumbnail_generator.cpp
index f6fdb04ba..d101c1b7b 100644
--- a/tests/test_thumbnail_generator.cpp
+++ b/tests/test_thumbnail_generator.cpp
@@ -107,7 +107,7 @@ TEST(TestThumbnailGenerator, TestGetOneFileThumbnail)
thumb->ready.connect(sigc::mem_fun(load_result, &LoadResult::ThumbnailReady));
thumb->error.connect(sigc::mem_fun(load_result, &LoadResult::ThumbnailFailed));
- Utils::WaitUntilMSec(load_result.got_callback);
+ Utils::WaitUntilMSec(load_result.got_callback, 1500);
EXPECT_TRUE(load_result.succeeded);
glib::Object<GIcon> icon(g_icon_new_for_string(load_result.return_string.c_str(), NULL));
@@ -164,7 +164,7 @@ TEST(TestThumbnailGenerator, TestGetOneGIcon)
thumb->ready.connect(sigc::mem_fun(load_result, &LoadResult::ThumbnailReady));
thumb->error.connect(sigc::mem_fun(load_result, &LoadResult::ThumbnailFailed));
- Utils::WaitUntilMSec(load_result.got_callback);
+ Utils::WaitUntilMSec(load_result.got_callback, 1500);
EXPECT_TRUE(load_result.succeeded);
glib::Object<GIcon> icon(g_icon_new_for_string(load_result.return_string.c_str(), NULL));