Browse Source

[2252] set the expected max value of rejection counters to 3

Naoki Kambe 12 years ago
parent
commit
9344c41c18
1 changed files with 16 additions and 10 deletions
  1. 16 10
      tests/lettuce/features/xfrin_notify_handling.feature

+ 16 - 10
tests/lettuce/features/xfrin_notify_handling.feature

@@ -256,11 +256,14 @@ Feature: Xfrin incoming notify handling
 
     When I query statistics zones of bind10 module Xfrout with cmdctl port 47804
     The statistics counters are 0 in category .Xfrout.zones except for the following items
-      | item_name                | item_value | min_value |
-      | _SERVER_.notifyoutv6     |          5 |           |
-      | _SERVER_.xfrrej          |            |         1 |
-      | example.org..notifyoutv6 |          5 |           |
-      | example.org..xfrrej      |            |         1 |
+      | item_name                | item_value | min_value | max_value |
+      | _SERVER_.notifyoutv6     |          5 |           |           |
+      | _SERVER_.xfrrej          |            |         1 |         3 |
+      | example.org..notifyoutv6 |          5 |           |           |
+      | example.org..xfrrej      |            |         1 |         3 |
+    # Note: The above rejection counters might sometimes be increased
+    # up to 3. See this for details
+    # http://git.bind10.isc.org/~tester/builder/BIND10-lettuce/20120918210000-MacOS/logs/lettuce.out
 
     When I query statistics socket of bind10 module Xfrout with cmdctl port 47804
     The statistics counters are 0 in category .Xfrout.socket.unixdomain except for the following items
@@ -358,11 +361,14 @@ Feature: Xfrin incoming notify handling
 
     When I query statistics zones of bind10 module Xfrout with cmdctl port 47804
     The statistics counters are 0 in category .Xfrout.zones except for the following items
-      | item_name                | item_value | min_value |
-      | _SERVER_.notifyoutv4     |          5 |           |
-      | _SERVER_.xfrrej          |            |         1 |
-      | example.org..notifyoutv4 |          5 |           |
-      | example.org..xfrrej      |            |         1 |
+      | item_name                | item_value | min_value | max_value |
+      | _SERVER_.notifyoutv4     |          5 |           |           |
+      | _SERVER_.xfrrej          |            |         1 |         3 |
+      | example.org..notifyoutv4 |          5 |           |           |
+      | example.org..xfrrej      |            |         1 |         3 |
+    # Note: The above rejection counters might sometimes be increased
+    # up to 3. See this for details
+    # http://git.bind10.isc.org/~tester/builder/BIND10-lettuce/20120918210000-MacOS/logs/lettuce.out
 
     When I query statistics socket of bind10 module Xfrout with cmdctl port 47804
     The statistics counters are 0 in category .Xfrout.socket.unixdomain except for the following items