From fef3361ed2085f88140671678608030d80b23d07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?ChangZhuo=20Chen=20=28=E9=99=B3=E6=98=8C=E5=80=AC=29?= Date: Thu, 22 May 2014 22:06:11 +0800 Subject: [PATCH] Set test timeout to 30 --- tests/check_slug.c | 1 + tests/check_tree.c | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/check_slug.c b/tests/check_slug.c index 88b11e6..06567b7 100644 --- a/tests/check_slug.c +++ b/tests/check_slug.c @@ -97,6 +97,7 @@ END_TEST Suite* r3_suite (void) { Suite *suite = suite_create("slug test"); TCase *tcase = tcase_create("test_slug"); + tcase_set_timeout(tcase, 30); tcase_add_test(tcase, test_contains_slug); tcase_add_test(tcase, test_inside_slug); tcase_add_test(tcase, test_find_slug_pattern); diff --git a/tests/check_tree.c b/tests/check_tree.c index 72af3e1..ee2370d 100644 --- a/tests/check_tree.c +++ b/tests/check_tree.c @@ -736,6 +736,7 @@ Suite* r3_suite (void) { Suite *suite = suite_create("blah"); TCase *tcase = tcase_create("testcase"); + tcase_set_timeout(tcase, 30); tcase_add_test(tcase, test_r3_node_construct_and_free); tcase_add_test(tcase, test_str_array); tcase_add_test(tcase, test_ltrim_slash);