]> git.ipfire.org Git - thirdparty/pdns.git/commit
rec: Don't stop the reactor in the regression tests 6200/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 14 Dec 2017 12:48:28 +0000 (13:48 +0100)
committeraerique <aerique@xs4all.nl>
Wed, 17 Jan 2018 08:57:58 +0000 (09:57 +0100)
commitd023146c302c68d18aacfb518e6e4b437b0c1cef
tree744554048f0a66f10090f7bcaa3b3c870f9cb047
parentd328c3f0f285f34324a8c7e71a4082eccd2cc812
rec: Don't stop the reactor in the regression tests

So, there is one and only one global reactor for every test suites,
ever, and you can't restart it if you stop it (see the awful
`ReactorNotRestartable` exception).
That doesn't prevent you from adding new ports to listen on to the
existing one, so let's just start if it isn't already running and
never stop it.

(cherry picked from commit fbfaa4a7ee59829cbf2d3765a3a967edb823bb39)
regression-tests.recursor-dnssec/test_ECS.py
regression-tests.recursor-dnssec/test_Interop.py
regression-tests.recursor-dnssec/test_LargeAnswer.py