BIND 10 stats_lettuce_fix, updated. 8bc72c0e77a786901f61f3fab7aa0074aa1c5b70 [stats_lettuce_fix] added configuration of stats
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Sep 20 06:23:31 UTC 2012
The branch, stats_lettuce_fix has been updated
via 8bc72c0e77a786901f61f3fab7aa0074aa1c5b70 (commit)
via 583710591b610e704fd5739be4a4106917e35e9e (commit)
via 54ad8dd54acc965dc75513b739d604e74b4a11ee (commit)
from 64ce8ec302fd2f7afb3ece6b74e4a9b4ce127a7d (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 8bc72c0e77a786901f61f3fab7aa0074aa1c5b70
Author: Naoki Kambe <kambe at jprs.co.jp>
Date: Thu Sep 20 15:14:11 2012 +0900
[stats_lettuce_fix] added configuration of stats
Changed the default time (60sec) of poll-interval to one second. This is
because it's so infrequent for lettuce test of stats.
commit 583710591b610e704fd5739be4a4106917e35e9e
Author: Naoki Kambe <kambe at jprs.co.jp>
Date: Thu Sep 20 15:05:28 2012 +0900
[stats_lettuce_fix] fix for the lettuce error: Not found statistics counter notifyoutv4
http://git.bind10.isc.org/~tester/builder//BIND10-lettuce/20120918121701-DebianLinux-x86_64-GCC/logs/lettuce.out
AssertionError: Not found statistics counter notifyoutv4 for zone example.org.
Added waiting until the last requesting is finished instead of one-second
sleep. It should be done before checking the result of "Stats show" command via
bindctl.
commit 54ad8dd54acc965dc75513b739d604e74b4a11ee
Author: Naoki Kambe <kambe at jprs.co.jp>
Date: Thu Sep 20 14:54:37 2012 +0900
Revert "[stats_lettuce_fix] fix for the lettuce error: Not found statistics counter notifyoutv4"
This reverts commit 14727f8945873937f353915eac0e918cdb58721f.
-----------------------------------------------------------------------
Summary of changes:
.../xfrin/retransfer_master.conf.orig | 3 +++
.../lettuce/features/xfrin_notify_handling.feature | 18 ++++++++++--------
2 files changed, 13 insertions(+), 8 deletions(-)
-----------------------------------------------------------------------
diff --git a/tests/lettuce/configurations/xfrin/retransfer_master.conf.orig b/tests/lettuce/configurations/xfrin/retransfer_master.conf.orig
index b0e3ac0..c04d917 100644
--- a/tests/lettuce/configurations/xfrin/retransfer_master.conf.orig
+++ b/tests/lettuce/configurations/xfrin/retransfer_master.conf.orig
@@ -33,6 +33,9 @@
"port": 47806
} ]
},
+ "Stats": {
+ "poll-interval": 1
+ },
"Boss": {
"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 310a4ec..5f28cdf 100644
--- a/tests/lettuce/features/xfrin_notify_handling.feature
+++ b/tests/lettuce/features/xfrin_notify_handling.feature
@@ -44,17 +44,18 @@ Feature: Xfrin incoming notify handling
A query for www.example.org to [::1]:47806 should have rcode NOERROR
- # waiting for a second since the last query to Stats
- sleep for 1 seconds
-
#
# Test for statistics
#
# check for statistics change
#
+
+ # wait until the last stats requesting is finished
+ wait for new master stderr message STATS_SEND_STATISTICS_REQUEST
+ wait for new master stderr message XFROUT_RECEIVED_GETSTATS_COMMAND
+
When I query statistics zones of bind10 module Xfrout with cmdctl port 47804
last bindctl output should not contain "error"
- Then wait for new master stderr message XFROUT_RECEIVED_GETSTATS_COMMAND
The counter notifyoutv4 for the zone _SERVER_ should be 0
The counter notifyoutv4 for the zone example.org. should be 0
The counter notifyoutv6 for the zone _SERVER_ should be 5
@@ -121,17 +122,18 @@ Feature: Xfrin incoming notify handling
A query for www.example.org to [::1]:47806 should have rcode NXDOMAIN
- # waiting for a second since the last query to Stats
- sleep for 1 seconds
-
#
# Test2 for statistics
#
# check for statistics change
#
+
+ # wait until the last stats requesting is finished
+ wait for new master stderr message STATS_SEND_STATISTICS_REQUEST
+ wait for new master stderr message XFROUT_RECEIVED_GETSTATS_COMMAND
+
When I query statistics zones of bind10 module Xfrout with cmdctl port 47804
last bindctl output should not contain "error"
- Then wait for new master stderr message XFROUT_RECEIVED_GETSTATS_COMMAND
The counter notifyoutv4 for the zone _SERVER_ should be 0
The counter notifyoutv4 for the zone example.org. should be 0
The counter notifyoutv6 for the zone _SERVER_ should be 5
More information about the bind10-changes
mailing list