From: Neil Cook Date: Fri, 19 Oct 2018 11:25:37 +0000 (+0000) Subject: Add thread ID to snapshotCurrent() X-Git-Tag: dnsdist-1.3.3~16^2~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4ce4a76a0c6620eec22e7592922815c63b0021c5;p=pdns Add thread ID to snapshotCurrent() --- diff --git a/pdns/recursordist/test-nod_cc.cc b/pdns/recursordist/test-nod_cc.cc index 6a07a46d7..ae1f61f19 100644 --- a/pdns/recursordist/test-nod_cc.cc +++ b/pdns/recursordist/test-nod_cc.cc @@ -48,7 +48,7 @@ BOOST_AUTO_TEST_CASE(test_basic) { BOOST_CHECK_EQUAL(newnod.isNewDomain(new_domain2), true); BOOST_CHECK_EQUAL(newnod.isNewDomain(new_domain1), false); BOOST_CHECK_EQUAL(newnod.isNewDomain(new_domain2), false); - BOOST_CHECK_EQUAL(newnod.snapshotCurrent(), true); + BOOST_CHECK_EQUAL(newnod.snapshotCurrent(std::this_thread::get_id()), true); } { NODDB newnod;