]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2225] added checks for statistics unixsocket counters
authorNaoki Kambe <kambe@jprs.co.jp>
Fri, 31 Aug 2012 03:16:17 +0000 (12:16 +0900)
committerNaoki Kambe <kambe@jprs.co.jp>
Mon, 21 Jan 2013 05:27:01 +0000 (14:27 +0900)
tests/lettuce/features/xfrin_notify_handling.feature

index 80a887330157f59ebd23f3ebd31db1401b2dcca3..8a216888d6af221d13ebd4819e4b1988710a2e91 100644 (file)
@@ -40,6 +40,16 @@ Feature: Xfrin incoming notify handling
     Then the statistics counter axfr_running should be 0
     Then the statistics counter axfr_running should be 0
 
+    When I query statistics socket of bind10 module Xfrout with cmdctl port 47804
+    Then the statistics counter open should be 0
+    Then the statistics counter openfail should be 0
+    Then the statistics counter close should be 0
+    Then the statistics counter bindfail should be 0
+    Then the statistics counter acceptfail should be 0
+    Then the statistics counter accept should be 0
+    Then the statistics counter senderr should be 0
+    Then the statistics counter recverr should be 0
+
     When I send bind10 with cmdctl port 47804 the command Xfrout notify example.org IN
     Then wait for new master stderr message XFROUT_NOTIFY_COMMAND
     Then wait for new bind10 stderr message AUTH_RECEIVED_NOTIFY
@@ -73,6 +83,16 @@ Feature: Xfrin incoming notify handling
     Then the statistics counter xfrreqdone for the zone _SERVER_ should be 1
     Then the statistics counter xfrreqdone for the zone example.org. should be 1
 
+    When I query statistics socket of bind10 module Xfrout with cmdctl port 47804
+    Then the statistics counter open should be 1
+    Then the statistics counter openfail should be 0
+    Then the statistics counter close should be 0
+    Then the statistics counter bindfail should be 0
+    Then the statistics counter acceptfail should be 0
+    Then the statistics counter accept should be 1
+    Then the statistics counter senderr should be 0
+    Then the statistics counter recverr should be 0
+
     #
     # Test for Xfr request rejected
     #