Project

General

Profile

Feature #2204

Bliss test timeout increase

Added by Christian Ehrhardt almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Category:
libstrongswan
Target version:
Start date:
03.01.2017
Due date:
Estimated time:
Resolution:
Fixed

Description

Hi,
in the past we had several cases where the bliss tests timeout and failed due to that.
Especially when build was running in heavily virtualized and utilized environments.

We found it sufficient to increase the timeout to fix the issue for quite a while now, therefore I wanted to ask if you'd want to pick that change up.

--- a/src/libstrongswan/plugins/bliss/tests/suites/test_bliss_sampler.c
+++ b/src/libstrongswan/plugins/bliss/tests/suites/test_bliss_sampler.c
@@ -89,7 +89,7 @@
        s = suite_create("bliss_sampler");

        tc = tcase_create("sampler_gaussian");
-       tcase_set_timeout(tc, 10);
+       tcase_set_timeout(tc, 30);
        tcase_add_loop_test(tc, test_bliss_sampler_gaussian, 0, countof(key_size));
        suite_add_tcase(s, tc);

Associated revisions

Revision 1c27cf3b (diff)
Added by Tobias Brunner almost 4 years ago

bliss: Increase timeout for sampler unit test

Fixes #2204.

History

#1 Updated by Tobias Brunner almost 4 years ago

  • Tracker changed from Issue to Feature
  • Description updated (diff)
  • Category set to libstrongswan
  • Status changed from New to Closed
  • Assignee set to Tobias Brunner
  • Target version set to 5.5.2
  • Resolution set to Fixed

We found it sufficient to increase the timeout to fix the issue for quite a while now, therefore I wanted to ask if you'd want to pick that change up.

Sure, no problem.

Also available in: Atom PDF