]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2157] address occasional lettuce failure: add reply check for getstats command
authorYoshitaka Aharen <aharen@jprs.co.jp>
Mon, 4 Feb 2013 02:04:13 +0000 (11:04 +0900)
committerYoshitaka Aharen <aharen@jprs.co.jp>
Mon, 4 Feb 2013 02:04:13 +0000 (11:04 +0900)
tests/lettuce/features/queries.feature

index 83e77df6ac73feeb14f02367d5cd3b62f3b8af42..d9e6c2582d758049019702133a2fe525f6a6df51 100644 (file)
@@ -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