The testrunner run becomes very slow, a non-zero inception skew is needed.
ucontext->uc_link = &d_kernel; // come back to kernel after dying
#ifdef PDNS_USE_VALGRIND
- uc->valgrind_id = VALGRIND_STACK_REGISTER(&uc->uc_stack[0],
- &uc->uc_stack[uc->uc_stack.size() - 1]);
+ ucontext->valgrind_id = VALGRIND_STACK_REGISTER(&ucontext->uc_stack[0], &ucontext->uc_stack[ucontext->uc_stack.size() - 1]);
#endif /* PDNS_USE_VALGRIND */
return ucontext;
BOOST_CHECK_EQUAL(counts.uint64Count[0], counts.uint64Count[1]);
auto avg = counts.at(rec::DoubleWAvgCounter::avgLatencyUsec).avg;
BOOST_CHECK(avg == 0.0 || (avg >= 1.1 && avg <= 2.2));
+ std::this_thread::yield(); // needed, as otherwise the updates to done might not be spotted under valgrind
}
});
thread1.join();
g_dnssecmode = DNSSECMode::Off;
g_maxNSEC3Iterations = 2500;
+ g_signatureInceptionSkew = 60;
g_aggressiveNSECCache.reset();
AggressiveNSECCache::s_maxNSEC3CommonPrefix = AggressiveNSECCache::s_default_maxNSEC3CommonPrefix;