From: Ensar Sarajčić Date: Fri, 7 Feb 2025 14:09:14 +0000 (+0100) Subject: Use integer placeholder in config template in `test_Dnstap.py` X-Git-Tag: dnsdist-2.0.0-alpha1~111^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42e52b7aa348cb8581d515a794df3ba4d86da38d;p=thirdparty%2Fpdns.git Use integer placeholder in config template in `test_Dnstap.py` Co-authored-by: Remi Gacogne --- diff --git a/regression-tests.dnsdist/test_Dnstap.py b/regression-tests.dnsdist/test_Dnstap.py index a57f771b84..d19ee1cb7b 100644 --- a/regression-tests.dnsdist/test_Dnstap.py +++ b/regression-tests.dnsdist/test_Dnstap.py @@ -522,8 +522,8 @@ class TestDnstapOverRemotePoolTcpLogger(DNSDistTest): _poolConnectionCount = 5 _config_params = ['_testServerPort', '_fstrmLoggerPort', '_poolConnectionCount'] _config_template = """ - newServer{address="127.0.0.1:%s", useClientSubnet=true} - fslu = newFrameStreamTcpLogger('127.0.0.1:%s', { connectionCount = %s }) + newServer{address="127.0.0.1:%d", useClientSubnet=true} + fslu = newFrameStreamTcpLogger('127.0.0.1:%d', { connectionCount = %d }) addAction(AllRule(), DnstapLogAction("a.server", fslu)) """