]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2252] inserted waiting for completion of the last stats request
authorNaoki Kambe <kambe@jprs.co.jp>
Fri, 28 Sep 2012 04:42:26 +0000 (13:42 +0900)
committerNaoki Kambe <kambe@jprs.co.jp>
Thu, 28 Feb 2013 10:44:40 +0000 (19:44 +0900)
tests/lettuce/features/xfrin_notify_handling.feature

index 14c31cbba46e1355399c3f4b871d0bfe2235c3aa..dd5f04c955d625f25856b74799f5363556cef377 100644 (file)
@@ -114,8 +114,12 @@ Feature: Xfrin incoming notify handling
     #
     # check statistics change
     #
+
+    # wait until the last stats requesting is finished
+    wait for new bind10 stderr message STATS_SEND_STATISTICS_REQUEST
+    wait for new bind10 stderr message XFRIN_RECEIVED_GETSTATS_COMMAND
+
     When I query statistics zones of bind10 module Xfrin with cmdctl
-    Then wait for new bind10 stderr message XFRIN_RECEIVED_GETSTATS_COMMAND
     last bindctl output should not contain "error"
     Then the statistics counter soaoutv4 for the zone _SERVER_ should be 0
     Then the statistics counter soaoutv4 for the zone example.org. should be 0
@@ -262,6 +266,16 @@ Feature: Xfrin incoming notify handling
     Then the statistics counter senderr should be 0
     Then the statistics counter recverr should be 0
 
+    #
+    # Test8 for Xfrin statistics
+    #
+    # check statistics change
+    #
+
+    # wait until the last stats requesting is finished
+    wait for new bind10 stderr message STATS_SEND_STATISTICS_REQUEST
+    wait for new bind10 stderr message XFRIN_RECEIVED_GETSTATS_COMMAND
+
     #
     # Test for unreachable slave
     #
@@ -303,7 +317,7 @@ Feature: Xfrin incoming notify handling
     Then the statistics counter time_to_axfr for the zone example.org. should be 0.0
 
     #
-    # Test1 for Xfrout statistics
+    # Test9 for Xfrout statistics
     #
     # check statistics change
     #