diff options
author | Jack Lloyd <[email protected]> | 2015-11-11 08:36:09 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2015-11-11 08:36:09 -0500 |
commit | 75dbef27700d22478a5845476bd7b120f72cfe2c (patch) | |
tree | 493ff5ef9135477b394c24f1bdaac675e82bf4da /src/tests/tests.h | |
parent | f266e5e24b61ace20e79d7e27f178068fed86d64 (diff) |
Fix occasional test fails
Increase the iterations of the BigInt::random_integer test. Since things
get slow quickly, leave the larger range tests to higher soak levels.
In TLS, if the corrupted data causes an exception immediately that's ok
because it's corrupted data.
Diffstat (limited to 'src/tests/tests.h')
-rw-r--r-- | src/tests/tests.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tests/tests.h b/src/tests/tests.h index c431eb6bd..09d89459d 100644 --- a/src/tests/tests.h +++ b/src/tests/tests.h @@ -206,8 +206,12 @@ class Test void set_ns_consumed(uint64_t ns) { m_ns_taken = ns; } + void start_timer(); + void end_timer(); + private: std::string m_who; + uint64_t m_started = 0; uint64_t m_ns_taken = 0; size_t m_tests_passed = 0; std::vector<std::string> m_fail_log; |