From: Mukund Sivaraman Date: Wed, 14 Nov 2012 09:02:10 +0000 (+0530) Subject: [2421] Check that the load error messages are logged X-Git-Tag: trac2487_base~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4bc7823ddb3d480a7e3ff259722832cee64bec22;p=thirdparty%2Fkea.git [2421] Check that the load error messages are logged --- diff --git a/tests/lettuce/features/auth_badzone.feature b/tests/lettuce/features/auth_badzone.feature index 57b2dd4cce..edc1a64d63 100644 --- a/tests/lettuce/features/auth_badzone.feature +++ b/tests/lettuce/features/auth_badzone.feature @@ -6,6 +6,16 @@ Feature: Authoritative DNS server with a bad zone Scenario: Bad zone Given I have bind10 running with configuration auth/auth_badzone.config + + # loading example.com, example.net and example.info zones fail. + # Note: wait for these messages right away as otherwise they + # will be logged and we cannot use the 'new' keyword to wait for + # 3 different log messages. *There could still be a race here if + # auth starts very quickly.* + And wait for new bind10 stderr message DATASRC_LOAD_FROM_FILE_ERROR + And wait for new bind10 stderr message DATASRC_LOAD_FROM_FILE_ERROR + And wait for new bind10 stderr message DATASRC_LOAD_FROM_FILE_ERROR + And wait for bind10 stderr message BIND10_STARTED_CC And wait for bind10 stderr message CMDCTL_STARTED And wait for bind10 stderr message AUTH_SERVER_STARTED