# that we are sure this file does not exist, see
# features/terrain/terrain.py
- # Standard check to test (non-)existence of a file
- # This file is actually automatically
+ # Standard check to test (non-)existence of a file.
+ # This file is actually automatically created.
The file data/test_nonexistent_db.sqlite3 should not exist
# In the first scenario, we used 'given I have bind10 running', which
Tests for Xfrin, specific for BIND 10 behaviour.
Scenario: Retransfer command
+ # Standard check to test (non-)existence of a file.
+ # This file is actually automatically created.
The file data/test_nonexistent_db.sqlite3 should not exist
Given I have bind10 running with configuration xfrin/retransfer_master.conf with cmdctl port 47804 as master
And wait for bind10 stderr message XFRIN_STARTED
And wait for bind10 stderr message ZONEMGR_STARTED
+ # Now we use the first step again to see if the file has been created
+ The file data/test_nonexistent_db.sqlite3 should exist
+
A query for www.example.org should have rcode REFUSED
When I send bind10 the command Xfrin retransfer example.org IN 127.0.0.1 47807
Then wait for new bind10 stderr message XFRIN_TRANSFER_SUCCESS not XFRIN_XFR_PROCESS_FAILURE
# containing an NSEC3 RR.
When I do an AXFR transfer of example.org from 127.0.0.1 47807
Then transfer result should have 13 rrs
-
- The file data/test_nonexistent_db.sqlite3 should exist