BIND 10 trac2252, updated. 0475216923e0c60294c0901ae3e6af09f5e961ae [2252] .Xfrout.socket.unixdomain.open is either expected to be 0 or 1, and add notes

BIND 10 source code commits bind10-changes at lists.isc.org
Mon May 6 11:54:00 UTC 2013


The branch, trac2252 has been updated
       via  0475216923e0c60294c0901ae3e6af09f5e961ae (commit)
       via  8f4a354b90fbf0be2ddc5c54f72325d52f0eff2e (commit)
      from  c0acd591b18839863e5c46be32daeebc07c162c4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0475216923e0c60294c0901ae3e6af09f5e961ae
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Mon May 6 20:30:29 2013 +0900

    [2252] .Xfrout.socket.unixdomain.open is either expected to be 0 or 1, and add notes

commit 8f4a354b90fbf0be2ddc5c54f72325d52f0eff2e
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Mon May 6 19:56:30 2013 +0900

    [2252] revert poll-interval to the default value

-----------------------------------------------------------------------

Summary of changes:
 .../xfrin/retransfer_master.conf.orig              |    3 --
 .../xfrin/retransfer_master_v4.conf.orig           |    3 --
 .../lettuce/features/xfrin_notify_handling.feature |   49 +++++++++++++++-----
 3 files changed, 37 insertions(+), 18 deletions(-)

-----------------------------------------------------------------------
diff --git a/tests/lettuce/configurations/xfrin/retransfer_master.conf.orig b/tests/lettuce/configurations/xfrin/retransfer_master.conf.orig
index 1b2953d..d7ea9a5 100644
--- a/tests/lettuce/configurations/xfrin/retransfer_master.conf.orig
+++ b/tests/lettuce/configurations/xfrin/retransfer_master.conf.orig
@@ -33,9 +33,6 @@
             "port": 47806
         } ]
     },
-    "Stats": {
-        "poll-interval": 1
-    },
     "Init": {
         "components": {
             "b10-auth": { "kind": "needed", "special": "auth" },
diff --git a/tests/lettuce/configurations/xfrin/retransfer_master_v4.conf.orig b/tests/lettuce/configurations/xfrin/retransfer_master_v4.conf.orig
index 35c482a..755c91b 100644
--- a/tests/lettuce/configurations/xfrin/retransfer_master_v4.conf.orig
+++ b/tests/lettuce/configurations/xfrin/retransfer_master_v4.conf.orig
@@ -33,9 +33,6 @@
             "port": 47806
         } ]
     },
-    "Stats": {
-        "poll-interval": 1
-    },
     "Init": {
         "components": {
             "b10-auth": { "kind": "needed", "special": "auth" },
diff --git a/tests/lettuce/features/xfrin_notify_handling.feature b/tests/lettuce/features/xfrin_notify_handling.feature
index a4e8f8e..dab0688 100644
--- a/tests/lettuce/features/xfrin_notify_handling.feature
+++ b/tests/lettuce/features/xfrin_notify_handling.feature
@@ -27,10 +27,16 @@ Feature: Xfrin incoming notify handling
     #
     # Test1 for Xfrout statistics
     #
-    wait for master stderr message XFROUT_RECEIVED_GETSTATS_COMMAND
     check initial statistics not containing example.org for Xfrout with cmdctl port 47804 except for the following items
-      | item_name                | item_value |
-      | socket.unixdomain.open   |          1 |
+      | item_name                | item_max | item_min |
+      | socket.unixdomain.open   |        1 |        0 |
+    # Note: .Xfrout.socket.unixdomain.open can be either expected to
+    # be 0 or 1 here.  The reason is: if b10-xfrout starts all and is
+    # ready for a request from b10-stats, then b10-stats does request
+    # to b10-xfrout and the value results in 1. Otherwise if
+    # b10-xfrout is starting and isn't yet ready, then b10-stats
+    # doesn't request to b10-xfrout and the value still remains to the
+    # default value(0).
 
     #
     # Test2 for Xfrin statistics
@@ -129,10 +135,17 @@ Feature: Xfrin incoming notify handling
     #
     # Test1 for Xfrout statistics
     #
-    wait for master stderr message XFROUT_RECEIVED_GETSTATS_COMMAND
     check initial statistics not containing example.org for Xfrout with cmdctl port 47804 except for the following items
-      | item_name                | item_value |
-      | socket.unixdomain.open   |          1 |
+      | item_name                | item_max | item_min |
+      | socket.unixdomain.open   |        1 |        0 |
+    # Note: .Xfrout.socket.unixdomain.open can be either expected to
+    # be 0 or 1 here.  The reason is: if b10-xfrout starts all and is
+    # ready for a request from b10-stats, then b10-stats does request
+    # to b10-xfrout and the value results in 1. Otherwise if
+    # b10-xfrout is starting and isn't yet ready, then b10-stats
+    # doesn't request to b10-xfrout and the value still remains to the
+    # default value(0).
+
     #
     # Test2 for Xfrin statistics
     #
@@ -230,10 +243,16 @@ Feature: Xfrin incoming notify handling
     #
     # Test1 for Xfrout statistics
     #
-    wait for master stderr message XFROUT_RECEIVED_GETSTATS_COMMAND
     check initial statistics not containing example.org for Xfrout with cmdctl port 47804 except for the following items
-      | item_name                | item_value |
-      | socket.unixdomain.open   |          1 |
+      | item_name                | item_max | item_min |
+      | socket.unixdomain.open   |        1 |        0 |
+    # Note: .Xfrout.socket.unixdomain.open can be either expected to
+    # be 0 or 1 here.  The reason is: if b10-xfrout starts all and is
+    # ready for a request from b10-stats, then b10-stats does request
+    # to b10-xfrout and the value results in 1. Otherwise if
+    # b10-xfrout is starting and isn't yet ready, then b10-stats
+    # doesn't request to b10-xfrout and the value still remains to the
+    # default value(0).
 
     #
     # Test2 for Xfrin statistics
@@ -336,10 +355,16 @@ Feature: Xfrin incoming notify handling
     #
     # Test1 for Xfrout statistics
     #
-    wait for master stderr message XFROUT_RECEIVED_GETSTATS_COMMAND
     check initial statistics not containing example.org for Xfrout with cmdctl port 47804 except for the following items
-      | item_name                | item_value |
-      | socket.unixdomain.open   |          1 |
+      | item_name                | item_max | item_min |
+      | socket.unixdomain.open   |        1 |        0 |
+    # Note: .Xfrout.socket.unixdomain.open can be either expected to
+    # be 0 or 1 here.  The reason is: if b10-xfrout starts all and is
+    # ready for a request from b10-stats, then b10-stats does request
+    # to b10-xfrout and the value results in 1. Otherwise if
+    # b10-xfrout is starting and isn't yet ready, then b10-stats
+    # doesn't request to b10-xfrout and the value still remains to the
+    # default value(0).
 
     #
     # Test2 for Xfrin statistics



More information about the bind10-changes mailing list