unit-tests: RSA key generation might take longer than 4 seconds

Check uses a default timeout of 4 seconds for each test case, generating
keys of 6 different key sizes might take longer than that.
This commit is contained in:
Tobias Brunner 2013-06-27 10:41:34 +02:00
parent 65d23c7c90
commit a6357a62b4
1 changed files with 1 additions and 0 deletions

View File

@ -382,6 +382,7 @@ Suite *rsa_suite_create()
tc = tcase_create("generate");
tcase_add_loop_test(tc, test_gen, 0, countof(key_sizes));
tcase_set_timeout(tc, 8);
suite_add_tcase(s, tc);
tc = tcase_create("load");