Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
b6b3a1a1
Commit
b6b3a1a1
authored
Mar 27, 2013
by
JINMEI Tatuya
Browse files
[2562] added a test case where zonemgr is not running when notify comes.
parent
5156bc4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/lettuce/features/xfrin_notify_handling.feature
View file @
b6b3a1a1
...
...
@@ -334,3 +334,42 @@ Feature: Xfrin incoming notify handling
Then
wait for new master stderr message NOTIFY_OUT_REPLY_RECEIVED
A query for www.example.org to [
::
1]
:
47806
should
have
rcode
NXDOMAIN
#
# Test for NOTIFY when zonemgr is not running
#
Scenario
:
Handle incoming notify while zonemgr is not running
Given
I have bind10 running with configuration xfrin/retransfer_master.conf with cmdctl port 47804 as master
And
wait for master stderr message BIND10_STARTED_CC
And
wait for master stderr message CMDCTL_STARTED
And
wait for master stderr message AUTH_SERVER_STARTED
And
wait for master stderr message XFROUT_STARTED
And
wait for master stderr message ZONEMGR_STARTED
And
wait for master stderr message STATS_STARTING
And
I have bind10 running with configuration xfrin/retransfer_slave_notify.conf
And
wait for bind10 stderr message BIND10_STARTED_CC
And
wait for bind10 stderr message CMDCTL_STARTED
And
wait for bind10 stderr message AUTH_SERVER_STARTED
And
wait for bind10 stderr message XFRIN_STARTED
And
wait for bind10 stderr message ZONEMGR_STARTED
# remove zonemgr from the system. a subsequent notify is ignored, but
# an error message shouldn't be logged at auth.
When
I send bind10 the following commands with cmdctl
"""
config remove Init/components b10-zonemgr
config commit
"""
last
bindctl
output
should
not
contain
"error"
And
wait for new bind10 stderr message BIND10_PROCESS_ENDED
A query for www.example.org to [
::
1]
:
47806
should
have
rcode
NXDOMAIN
When
I send bind10 with cmdctl port 47804 the command Xfrout notify example.org IN
Then
wait for master stderr message XFROUT_NOTIFY_COMMAND
Then
wait for new bind10 stderr message AUTH_RECEIVED_NOTIFY
Then
wait for new bind10 stderr message AUTH_ZONEMGR_NOTEXIST not AUTH_ZONEMGR_ERROR
Then
wait for master stderr message NOTIFY_OUT_TIMEOUT not NOTIFY_OUT_REPLY_RECEIVED
A query for www.example.org to [
::
1]
:
47806
should
have
rcode
NXDOMAIN
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment