X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=regression-tests.dnsdist%2Ftest_CacheHitResponses.py;h=589372b3e986245804a573a97d3c493ad990011f;hb=d4bc1d60ffdf7dfbe01d278936bb393306aedce2;hp=a6b8aafa6dcec8f2c6962ede39f0f5b47354e0d9;hpb=0f2042943d78035b4e4df517589ee54ae46d1fbf;p=thirdparty%2Fpdns.git diff --git a/regression-tests.dnsdist/test_CacheHitResponses.py b/regression-tests.dnsdist/test_CacheHitResponses.py index a6b8aafa6d..589372b3e9 100644 --- a/regression-tests.dnsdist/test_CacheHitResponses.py +++ b/regression-tests.dnsdist/test_CacheHitResponses.py @@ -7,7 +7,7 @@ from dnsdisttests import DNSDistTest class TestCacheHitResponses(DNSDistTest): _config_template = """ - pc = newPacketCache(100, 86400, 1) + pc = newPacketCache(100, {maxTTL=86400, minTTL=1}) getPool(""):setCache(pc) addCacheHitResponseAction(makeRule("dropwhencached.cachehitresponses.tests.powerdns.com."), DropResponseAction()) newServer{address="127.0.0.1:%s"}