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);