From b963ef8b7568c55493f942d660d9a61103bfc04e Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Tue, 19 May 2020 11:51:03 +0200 Subject: [PATCH] fix formatting --- pdns/recursordist/test-syncres_cc2.cc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pdns/recursordist/test-syncres_cc2.cc b/pdns/recursordist/test-syncres_cc2.cc index 38004165e2..2e19ce8a82 100644 --- a/pdns/recursordist/test-syncres_cc2.cc +++ b/pdns/recursordist/test-syncres_cc2.cc @@ -1291,7 +1291,7 @@ BOOST_AUTO_TEST_CASE(test_completely_flawed_big_nsset) if (isRootServer(ip) && domain == target) { setLWResult(res, 0, false, false, true); // 20 NS records - for (int i = 0; i < 20; i++) { + for (int i = 0; i < 20; i++) { string n = string("pdns-public-ns") + std::to_string(i) + string(".powerdns.com."); addRecordToLW(res, domain, QType::NS, n, DNSResourceRecord::AUTHORITY, 172800); } @@ -1309,10 +1309,11 @@ BOOST_AUTO_TEST_CASE(test_completely_flawed_big_nsset) try { sr->beginResolve(target, QType(QType::A), QClass::IN, ret); BOOST_CHECK(0); - } catch (const ImmediateServFailException& ex) { - BOOST_CHECK_EQUAL(ret.size(), 0U); - // one query to get NSs, then A and AAAA for each NS, 5th NS hits the limit - // limit is reduced to 5, because zone publishes many (20) NS + } + catch (const ImmediateServFailException& ex) { + BOOST_CHECK_EQUAL(ret.size(), 0U); + // one query to get NSs, then A and AAAA for each NS, 5th NS hits the limit + // limit is reduced to 5, because zone publishes many (20) NS BOOST_CHECK_EQUAL(queriesCount, 11); } } -- 2.47.2