]> git.ipfire.org Git - thirdparty/pdns.git/blobdiff - regression-tests.dnsdist/test_CDB.py
Merge pull request #14001 from rgacogne/ddist-ffi-policy-no-server
[thirdparty/pdns.git] / regression-tests.dnsdist / test_CDB.py
index f4095aeac55a0620dd166ffb683499d55bdacd16..2b4f0a06ad98416272af2bcc58d89da41b074571 100644 (file)
@@ -15,6 +15,7 @@ def writeCDB(fname, variant=1):
     cdb.add(b'this is the value of the qname tag', b'this is the value of the second tag')
     cdb.commit().close()
     os.rename(fname+'.tmp', fname)
+    cdb.close()
 
 @unittest.skipIf('SKIP_CDB_TESTS' in os.environ, 'CDB tests are disabled')
 class CDBTest(DNSDistTest):