From: Yoshitaka Aharen Date: Mon, 4 Feb 2013 02:04:13 +0000 (+0900) Subject: [2157] address occasional lettuce failure: add reply check for getstats command X-Git-Tag: bind10-1.1.0beta1-release~85^2~5^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1c470ce;p=thirdparty%2Fkea.git [2157] address occasional lettuce failure: add reply check for getstats command --- diff --git a/tests/lettuce/features/queries.feature b/tests/lettuce/features/queries.feature index 83e77df6ac..d9e6c2582d 100644 --- a/tests/lettuce/features/queries.feature +++ b/tests/lettuce/features/queries.feature @@ -20,6 +20,8 @@ Feature: Querying feature When I wait for new bind10 stderr message STATS_SEND_STATISTICS_REQUEST And wait for new bind10 stderr message AUTH_RECEIVED_COMMAND + And wait for new bind10 stderr message CC_REPLY + And wait for new bind10 stderr message "v4": Then I query statistics zones of bind10 module Auth And last bindctl output should not contain "error" The statistics counters are 0 in category .Auth.zones._SERVER_ @@ -47,6 +49,8 @@ Feature: Querying feature When I wait for new bind10 stderr message STATS_SEND_STATISTICS_REQUEST And wait for new bind10 stderr message AUTH_RECEIVED_COMMAND + And wait for new bind10 stderr message CC_REPLY + And wait for new bind10 stderr message "v4": Then I query statistics zones of bind10 module Auth And last bindctl output should not contain "error" The statistics counters are 0 in category .Auth.zones._SERVER_ except for the following items @@ -84,6 +88,8 @@ Feature: Querying feature When I wait for new bind10 stderr message STATS_SEND_STATISTICS_REQUEST And wait for new bind10 stderr message AUTH_RECEIVED_COMMAND + And wait for new bind10 stderr message CC_REPLY + And wait for new bind10 stderr message "v4": Then I query statistics zones of bind10 module Auth And last bindctl output should not contain "error" The statistics counters are 0 in category .Auth.zones._SERVER_ except for the following items @@ -109,6 +115,8 @@ Feature: Querying feature When I wait for new bind10 stderr message STATS_SEND_STATISTICS_REQUEST And wait for new bind10 stderr message AUTH_RECEIVED_COMMAND + And wait for new bind10 stderr message CC_REPLY + And wait for new bind10 stderr message "v4": Then I query statistics zones of bind10 module Auth And last bindctl output should not contain "error" The statistics counters are 0 in category .Auth.zones._SERVER_ except for the following items @@ -138,6 +146,8 @@ Feature: Querying feature When I wait for new bind10 stderr message STATS_SEND_STATISTICS_REQUEST And wait for new bind10 stderr message AUTH_RECEIVED_COMMAND + And wait for new bind10 stderr message CC_REPLY + And wait for new bind10 stderr message "v4": Then I query statistics zones of bind10 module Auth And last bindctl output should not contain "error" The statistics counters are 0 in category .Auth.zones._SERVER_ @@ -163,6 +173,8 @@ Feature: Querying feature When I wait for new bind10 stderr message STATS_SEND_STATISTICS_REQUEST And wait for new bind10 stderr message AUTH_RECEIVED_COMMAND + And wait for new bind10 stderr message CC_REPLY + And wait for new bind10 stderr message "v4": Then I query statistics zones of bind10 module Auth And last bindctl output should not contain "error" The statistics counters are 0 in category .Auth.zones._SERVER_ except for the following items @@ -183,6 +195,8 @@ Feature: Querying feature When I wait for new bind10 stderr message STATS_SEND_STATISTICS_REQUEST And wait for new bind10 stderr message AUTH_RECEIVED_COMMAND + And wait for new bind10 stderr message CC_REPLY + And wait for new bind10 stderr message "v4": Then I query statistics zones of bind10 module Auth And last bindctl output should not contain "error" The statistics counters are 0 in category .Auth.zones._SERVER_ @@ -204,6 +218,8 @@ Feature: Querying feature When I wait for new bind10 stderr message STATS_SEND_STATISTICS_REQUEST And wait for new bind10 stderr message AUTH_RECEIVED_COMMAND + And wait for new bind10 stderr message CC_REPLY + And wait for new bind10 stderr message "v4": Then I query statistics zones of bind10 module Auth And last bindctl output should not contain "error" The statistics counters are 0 in category .Auth.zones._SERVER_ except for the following items @@ -236,6 +252,8 @@ Feature: Querying feature When I wait for new bind10 stderr message STATS_SEND_STATISTICS_REQUEST And wait for new bind10 stderr message AUTH_RECEIVED_COMMAND + And wait for new bind10 stderr message CC_REPLY + And wait for new bind10 stderr message "v4": Then I query statistics zones of bind10 module Auth And last bindctl output should not contain "error" The statistics counters are 0 in category .Auth.zones._SERVER_ @@ -245,6 +263,8 @@ Feature: Querying feature When I wait for new bind10 stderr message STATS_SEND_STATISTICS_REQUEST And wait for new bind10 stderr message AUTH_RECEIVED_COMMAND + And wait for new bind10 stderr message CC_REPLY + And wait for new bind10 stderr message "v4": Then I query statistics zones of bind10 module Auth And last bindctl output should not contain "error" The statistics counters are 0 in category .Auth.zones._SERVER_ except for the following items @@ -266,6 +286,8 @@ Feature: Querying feature When I wait for new bind10 stderr message STATS_SEND_STATISTICS_REQUEST And wait for new bind10 stderr message AUTH_RECEIVED_COMMAND + And wait for new bind10 stderr message CC_REPLY + And wait for new bind10 stderr message "v4": Then I query statistics zones of bind10 module Auth And last bindctl output should not contain "error" The statistics counters are 0 in category .Auth.zones._SERVER_ except for the following items