From: Peter van Dijk Date: Mon, 26 Nov 2018 20:10:54 +0000 (+0100) Subject: avoid shuffle failure X-Git-Tag: auth-4.2.0-alpha1~24^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99098b8a257674077a64956a25f3bcd188562d1f;p=thirdparty%2Fpdns.git avoid shuffle failure --- diff --git a/regression-tests.auth-py/test_LuaRecords.py b/regression-tests.auth-py/test_LuaRecords.py index 226fd9d6bd..1a5e41aa95 100644 --- a/regression-tests.auth-py/test_LuaRecords.py +++ b/regression-tests.auth-py/test_LuaRecords.py @@ -559,7 +559,7 @@ any IN TXT "hello there" res = self.sendUDPQuery(query) self.assertRcodeEqual(res, dns.rcode.NOERROR) - self.assertEqual(res.answer, response.answer) + self.assertEqual(sorted(res.answer), sorted(response.answer)) if __name__ == '__main__': unittest.main()