features/trema_commands/kill.feature in trema-0.4.5 vs features/trema_commands/kill.feature in trema-0.4.6
- old
+ new
@@ -22,25 +22,29 @@
And I successfully run `trema run ../../src/examples/switch_monitor/switch-monitor.rb -c switch_monitor.conf -d`
@slow_process
Scenario: kill a switch
When I run `trema kill 0x1`
+ And *** sleep 1 ***
Then the vswitch "0x1" is terminated
@slow_process
Scenario: kill a host
When I run `trema kill host1`
+ And *** sleep 1 ***
Then the vhost "host1" is terminated
@slow_process
Scenario: kill hosts
When I run `trema kill host1 host2`
+ And *** sleep 1 ***
Then the vhost "host1" is terminated
And the vhost "host2" is terminated
@slow_process
Scenario: kill a controller
When I run `trema kill SwitchMonitor`
+ And *** sleep 1 ***
Then the controller "SwitchMonitor" is terminated
Scenario: no argument
When I run `trema kill`
Then the output should contain "name is required"