spec/trema/echo-request_spec.rb in trema-0.2.5 vs spec/trema/echo-request_spec.rb in trema-0.2.6
- old
+ new
@@ -26,9 +26,10 @@
it "should be logged to the switch's log", :sudo => true do
network {
vswitch( "echo" ) { datapath_id 0xabc }
}.run( EchoReplyController ) {
controller( "EchoReplyController" ).send_message( 0xabc, subject )
+ sleep 2 # FIXME: wait to send_message
IO.read( File.join( Trema.log, "openflowd.echo.log" ) ).should include( "OFPT_ECHO_REPLY" )
}
end
end