Browse Source

[master] Update the xfrin_bind10.feature test

* Remove the redundant CMDCTL_STARTED check
* Add checks for data/test_nonexistent_db.sqlite3
Mukund Sivaraman 13 years ago
parent
commit
a1528b46bf
1 changed files with 4 additions and 1 deletions
  1. 4 1
      tests/lettuce/features/xfrin_bind10.feature

+ 4 - 1
tests/lettuce/features/xfrin_bind10.feature

@@ -2,6 +2,8 @@ Feature: Xfrin
     Tests for Xfrin, specific for BIND 10 behaviour.
     
     Scenario: Retransfer command
+    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 master stderr message BIND10_STARTED_CC
     And wait for master stderr message CMDCTL_STARTED
@@ -17,7 +19,6 @@ Feature: Xfrin
     And wait for bind10 stderr message ZONEMGR_STARTED
 
     A query for www.example.org should have rcode REFUSED
-    Wait for bind10 stderr message CMDCTL_STARTED
     When I send bind10 the command Xfrin retransfer example.org IN ::1 47807
     Then wait for new bind10 stderr message XFRIN_TRANSFER_SUCCESS not XFRIN_XFR_PROCESS_FAILURE
     A query for www.example.org should have rcode NOERROR
@@ -29,3 +30,5 @@ Feature: Xfrin
     # containing an NSEC3 RR.
     When I do an AXFR transfer of example.org from ::1 47807
     Then transfer result should have 13 rrs
+
+    The file data/test_nonexistent_db.sqlite3 should exist