Commit 58371059 authored by Naoki Kambe's avatar Naoki Kambe
Browse files

[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.
parent 54ad8dd5
......@@ -49,9 +49,13 @@ Feature: Xfrin incoming notify handling
#
# 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
......@@ -123,9 +127,13 @@ Feature: Xfrin incoming notify handling
#
# 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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment