features/examples/switch_monitor.feature in trema-0.4.6 vs features/examples/switch_monitor.feature in trema-0.4.7

- old
+ new

@@ -10,26 +10,26 @@ vswitch { datapath_id 0x1 } vswitch { datapath_id 0x2 } vswitch { datapath_id 0x3 } """ - @slow_process - Scenario: Run "Switch Monitor" C example - Given I run `trema run ../../objects/examples/switch_monitor/switch_monitor -c switch_monitor.conf -d` - And wait until "switch_monitor" is up + @slow_process @ruby + Scenario: Run "Switch Monitor" Ruby example + Given I run `trema run ../../src/examples/switch_monitor/switch-monitor.rb -c switch_monitor.conf -d` + And wait until "SwitchMonitor" is up When I run `trema kill 0x3` And *** sleep 2 *** - Then the file "../../tmp/log/switch_monitor.log" should contain "Switch 0x3 is DOWN" + Then the file "../../tmp/log/SwitchMonitor.log" should contain "Switch 0x3 is DOWN" When I run `trema up 0x3` And *** sleep 10 *** - Then the file "../../tmp/log/switch_monitor.log" should contain "All switches = 0x1, 0x2, 0x3" + Then the file "../../tmp/log/SwitchMonitor.log" should contain "All switches = 0x1, 0x2, 0x3" @slow_process - Scenario: Run "Switch Monitor" Ruby example - Given I run `trema run ../../src/examples/switch_monitor/switch-monitor.rb -c switch_monitor.conf -d` - And wait until "SwitchMonitor" is up + Scenario: Run "Switch Monitor" C example + Given I run `trema run ../../objects/examples/switch_monitor/switch_monitor -c switch_monitor.conf -d` + And wait until "switch_monitor" is up When I run `trema kill 0x3` And *** sleep 2 *** - Then the file "../../tmp/log/SwitchMonitor.log" should contain "Switch 0x3 is DOWN" + Then the file "../../tmp/log/switch_monitor.log" should contain "Switch 0x3 is DOWN" When I run `trema up 0x3` And *** sleep 10 *** - Then the file "../../tmp/log/SwitchMonitor.log" should contain "All switches = 0x1, 0x2, 0x3" + Then the file "../../tmp/log/switch_monitor.log" should contain "All switches = 0x1, 0x2, 0x3"