Files
bind9/lib/dns
Michał Kępień 9c611dd999 Prevent races when waiting for log messages
The "mirror" system test checks whether log messages announcing a mirror
zone coming into effect are emitted properly.  However, the helper
functions responsible for waiting for zone transfers and zone loading to
complete do not wait for these exact log messages, but rather for other
ones preceding them, which introduces a possibility of false positives.

This problem cannot be addressed by just changing the log message to
look for because the test still needs to discern between transferring a
zone and loading a zone.

Add two new log messages at debug level 99 (which is what named
instances used in system tests are configured with) that are to be
emitted after the log messages announcing a mirror zone coming into
effect.  Tweak the aforementioned helper functions to only return once
the log messages they originally looked for are followed by the newly
added log messages.  This reliably prevents races when looking for
"mirror zone is now in use" log messages and also enables a workaround
previously put into place in the "mirror" system test to be reverted.
2019-02-14 10:41:56 +01:00
..
2019-02-08 13:54:13 +11:00
2019-02-08 13:54:13 +11:00
2019-01-09 23:44:26 +01:00
2018-11-22 11:51:49 +00:00
2019-02-06 22:13:05 +00:00
2018-11-22 11:52:08 +00:00
2018-11-22 11:52:08 +00:00
2018-11-22 11:52:08 +00:00
2018-11-28 12:00:16 -05:00
2018-12-11 11:32:24 +01:00
2018-12-11 11:32:24 +01:00
2018-12-11 11:32:24 +01:00
2019-01-09 23:44:26 +01:00
2018-11-22 11:52:08 +00:00
2018-12-11 11:32:24 +01:00
2019-01-09 23:44:26 +01:00
2018-11-22 11:52:08 +00:00
2019-01-09 23:44:26 +01:00
2018-11-22 11:52:08 +00:00
2019-01-31 09:35:49 +01:00
2018-11-22 11:51:49 +00:00
2018-11-14 15:26:27 -05:00
2018-11-14 20:17:04 -08:00
2018-12-11 11:32:24 +01:00
2019-01-30 14:11:12 -08:00
2018-12-06 10:29:10 -08:00
2018-11-22 11:52:08 +00:00
2019-01-09 23:44:26 +01:00
2018-11-22 11:52:08 +00:00
2018-11-22 11:52:08 +00:00
2018-11-22 11:52:08 +00:00
2018-11-22 11:52:08 +00:00
2018-11-22 11:52:08 +00:00
2019-01-31 09:01:23 -08:00
2019-01-30 11:46:43 -08:00
2018-12-11 11:32:24 +01:00