From: Chris Hofstaedtler Date: Mon, 8 Jan 2018 14:57:00 +0000 (+0100) Subject: testcase: do not add "unused" response to queue X-Git-Tag: dnsdist-1.3.0~162^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=45fc7a501982990c3457d575eb18af8f363a086b;p=pdns testcase: do not add "unused" response to queue --- diff --git a/regression-tests.dnsdist/test_Caching.py b/regression-tests.dnsdist/test_Caching.py index 50d8bc66d..fab737279 100644 --- a/regression-tests.dnsdist/test_Caching.py +++ b/regression-tests.dnsdist/test_Caching.py @@ -385,7 +385,7 @@ class TestTempFailureCacheTTLAction(DNSDistTest): self.assertEquals(receivedResponse, response) # next query should hit the cache - (receivedQuery, receivedResponse) = self.sendUDPQuery(query, response) + (receivedQuery, receivedResponse) = self.sendUDPQuery(query, response=None, useQueue=False) self.assertFalse(receivedQuery) self.assertTrue(receivedResponse) self.assertEquals(receivedResponse, response)