]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rec: fix call of empty() in Protobuf regression test, nice speedup 13183/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 28 Aug 2023 14:19:05 +0000 (16:19 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 28 Aug 2023 14:19:05 +0000 (16:19 +0200)
regression-tests.recursor-dnssec/test_Protobuf.py

index 347c918832a30ba0e6510fb0b9c57aa9c1c14c61..953a9ce20ead2a57aa4516deb8597f2b72ee935a 100644 (file)
@@ -99,7 +99,7 @@ class TestRecursorProtobuf(RecursorTest):
           #print(param.port)
           failed = 0
 
-          while param.queue.empty:
+          while param.queue.empty():
             #print(failed)
             #print(retries)
             if failed >= retries: