From 1c470ce95278e5a67b3babfb4e7adec849053e6b Mon Sep 17 00:00:00 2001 From: Yoshitaka Aharen Date: Mon, 4 Feb 2013 11:04:13 +0900 Subject: [PATCH] [2157] address occasional lettuce failure: add reply check for getstats command --- tests/lettuce/features/queries.feature | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) 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 -- 2.47.3