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

[2225] added checks for statistics unixsocket counters

parent 365e3472
......@@ -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
#
......
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