From 45fc7a501982990c3457d575eb18af8f363a086b Mon Sep 17 00:00:00 2001 From: Chris Hofstaedtler Date: Mon, 8 Jan 2018 15:57:00 +0100 Subject: [PATCH] testcase: do not add "unused" response to queue --- regression-tests.dnsdist/test_Caching.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.40.0