From 840a623a519d4d342f58187cca93b4f065fe3a9a Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Mon, 15 Apr 2019 14:48:25 +0200 Subject: [PATCH] Fix init of global to make tests order independent. --- pdns/dnsdistdist/test-delaypipe_hh.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pdns/dnsdistdist/test-delaypipe_hh.cc b/pdns/dnsdistdist/test-delaypipe_hh.cc index a4dc324c53..3d1c1b00df 100644 --- a/pdns/dnsdistdist/test-delaypipe_hh.cc +++ b/pdns/dnsdistdist/test-delaypipe_hh.cc @@ -26,7 +26,8 @@ BOOST_AUTO_TEST_CASE(test_object_pipe) { }; int done=0; -BOOST_AUTO_TEST_CASE(test_delay_pipe_small) { +BOOST_AUTO_TEST_CASE(test_delay_pipe_small) { + done=0; struct Work { int i; -- 2.39.2