Browse Source

[2252] corrected the order of the tests

Naoki Kambe 12 years ago
parent
commit
6c13b0c102
1 changed files with 17 additions and 17 deletions
  1. 17 17
      tests/lettuce/features/xfrin_notify_handling.feature

+ 17 - 17
tests/lettuce/features/xfrin_notify_handling.feature

@@ -276,23 +276,6 @@ Feature: Xfrin incoming notify handling
     wait for new bind10 stderr message STATS_SEND_STATISTICS_REQUEST
     wait for new bind10 stderr message XFRIN_RECEIVED_GETSTATS_COMMAND
 
-    #
-    # Test for unreachable slave
-    #
-    Scenario: Handle incoming notify (unreachable slave)
-    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
-
-    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 master stderr message NOTIFY_OUT_SENDING_NOTIFY
-    Then wait for new master stderr message NOTIFY_OUT_TIMEOUT
-
     When I query statistics zones of bind10 module Xfrin with cmdctl
     last bindctl output should not contain "error"
     Then the statistics counter soaoutv4 for the zone _SERVER_ should be 0
@@ -317,6 +300,23 @@ Feature: Xfrin incoming notify handling
     Then the statistics counter time_to_axfr for the zone example.org. should be 0.0
 
     #
+    # Test for unreachable slave
+    #
+    Scenario: Handle incoming notify (unreachable slave)
+    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
+
+    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 master stderr message NOTIFY_OUT_SENDING_NOTIFY
+    Then wait for new master stderr message NOTIFY_OUT_TIMEOUT
+
+    #
     # Test9 for Xfrout statistics
     #
     # check statistics change