Set test timeout to 30

This commit is contained in:
ChangZhuo Chen (陳昌倬) 2014-05-22 22:06:11 +08:00
parent 291e6add6b
commit fef3361ed2
2 changed files with 2 additions and 0 deletions

View file

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

View file

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