Change refute_received -> refute_receive
This commit is contained in:
parent
67ad6900d8
commit
4c429d81d7
1 changed files with 24 additions and 24 deletions
|
|
@ -67,7 +67,7 @@ defmodule FlogTest do
|
||||||
priority: 0
|
priority: 0
|
||||||
]
|
]
|
||||||
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
||||||
refute_received %Openflow.ErrorMsg{}, 1000
|
refute_receive %Openflow.ErrorMsg{}, 1000
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -90,7 +90,7 @@ defmodule FlogTest do
|
||||||
match: match,
|
match: match,
|
||||||
instructions: [ins]]
|
instructions: [ins]]
|
||||||
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
||||||
refute_received %Openflow.ErrorMsg{}, 1000
|
refute_receive %Openflow.ErrorMsg{}, 1000
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -105,7 +105,7 @@ defmodule FlogTest do
|
||||||
priority: 201,
|
priority: 201,
|
||||||
match: match]
|
match: match]
|
||||||
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
||||||
refute_received %Openflow.ErrorMsg{}, 1000
|
refute_receive %Openflow.ErrorMsg{}, 1000
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
@ -123,7 +123,7 @@ defmodule FlogTest do
|
||||||
match: match,
|
match: match,
|
||||||
instructions: [ins]]
|
instructions: [ins]]
|
||||||
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
||||||
refute_received %Openflow.ErrorMsg{}, 1000
|
refute_receive %Openflow.ErrorMsg{}, 1000
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -140,7 +140,7 @@ defmodule FlogTest do
|
||||||
match: match,
|
match: match,
|
||||||
instructions: [ins]]
|
instructions: [ins]]
|
||||||
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
||||||
refute_received %Openflow.ErrorMsg{}, 1000
|
refute_receive %Openflow.ErrorMsg{}, 1000
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -154,7 +154,7 @@ defmodule FlogTest do
|
||||||
priority: 11,
|
priority: 11,
|
||||||
match: match]
|
match: match]
|
||||||
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
||||||
refute_received %Openflow.ErrorMsg{}, 1000
|
refute_receive %Openflow.ErrorMsg{}, 1000
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -183,7 +183,7 @@ defmodule FlogTest do
|
||||||
match: match,
|
match: match,
|
||||||
instructions: [ins]]
|
instructions: [ins]]
|
||||||
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
||||||
refute_received %Openflow.ErrorMsg{}, 1000
|
refute_receive %Openflow.ErrorMsg{}, 1000
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -212,7 +212,7 @@ defmodule FlogTest do
|
||||||
match: match,
|
match: match,
|
||||||
instructions: [ins]]
|
instructions: [ins]]
|
||||||
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
||||||
refute_received %Openflow.ErrorMsg{}, 1000
|
refute_receive %Openflow.ErrorMsg{}, 1000
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -241,7 +241,7 @@ defmodule FlogTest do
|
||||||
match: match,
|
match: match,
|
||||||
instructions: [ins]]
|
instructions: [ins]]
|
||||||
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
||||||
refute_received %Openflow.ErrorMsg{}, 1000
|
refute_receive %Openflow.ErrorMsg{}, 1000
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -263,7 +263,7 @@ defmodule FlogTest do
|
||||||
hard_timeout: state.timeout,
|
hard_timeout: state.timeout,
|
||||||
match: match]
|
match: match]
|
||||||
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
||||||
refute_received %Openflow.ErrorMsg{}, 1000
|
refute_receive %Openflow.ErrorMsg{}, 1000
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -294,7 +294,7 @@ defmodule FlogTest do
|
||||||
match: match,
|
match: match,
|
||||||
instructions: [ins]]
|
instructions: [ins]]
|
||||||
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
||||||
refute_received %Openflow.ErrorMsg{}, 1000
|
refute_receive %Openflow.ErrorMsg{}, 1000
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
@ -315,7 +315,7 @@ defmodule FlogTest do
|
||||||
hard_timeout: state.timeout,
|
hard_timeout: state.timeout,
|
||||||
match: match]
|
match: match]
|
||||||
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
||||||
refute_received %Openflow.ErrorMsg{}, 1000
|
refute_receive %Openflow.ErrorMsg{}, 1000
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
@ -341,7 +341,7 @@ defmodule FlogTest do
|
||||||
match: match,
|
match: match,
|
||||||
instructions: [ins]]
|
instructions: [ins]]
|
||||||
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
||||||
refute_received %Openflow.ErrorMsg{}, 1000
|
refute_receive %Openflow.ErrorMsg{}, 1000
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -369,7 +369,7 @@ defmodule FlogTest do
|
||||||
match: match,
|
match: match,
|
||||||
instructions: [ins]]
|
instructions: [ins]]
|
||||||
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
||||||
refute_received %Openflow.ErrorMsg{}, 1000
|
refute_receive %Openflow.ErrorMsg{}, 1000
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -397,7 +397,7 @@ defmodule FlogTest do
|
||||||
match: match,
|
match: match,
|
||||||
instructions: [ins]]
|
instructions: [ins]]
|
||||||
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
||||||
refute_received %Openflow.ErrorMsg{}, 1000
|
refute_receive %Openflow.ErrorMsg{}, 1000
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -424,7 +424,7 @@ defmodule FlogTest do
|
||||||
match: match,
|
match: match,
|
||||||
instructions: ins]
|
instructions: ins]
|
||||||
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
||||||
refute_received %Openflow.ErrorMsg{}, 1000
|
refute_receive %Openflow.ErrorMsg{}, 1000
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -442,7 +442,7 @@ defmodule FlogTest do
|
||||||
hard_timeout: state.timeout,
|
hard_timeout: state.timeout,
|
||||||
match: match]
|
match: match]
|
||||||
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
||||||
refute_received %Openflow.ErrorMsg{}, 1000
|
refute_receive %Openflow.ErrorMsg{}, 1000
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -463,7 +463,7 @@ defmodule FlogTest do
|
||||||
match: match,
|
match: match,
|
||||||
instructions: ins]
|
instructions: ins]
|
||||||
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
||||||
refute_received %Openflow.ErrorMsg{}, 1000
|
refute_receive %Openflow.ErrorMsg{}, 1000
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -486,7 +486,7 @@ defmodule FlogTest do
|
||||||
match: match,
|
match: match,
|
||||||
instructions: ins]
|
instructions: ins]
|
||||||
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
||||||
refute_received %Openflow.ErrorMsg{}, 1000
|
refute_receive %Openflow.ErrorMsg{}, 1000
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -507,7 +507,7 @@ defmodule FlogTest do
|
||||||
match: match,
|
match: match,
|
||||||
instructions: ins]
|
instructions: ins]
|
||||||
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
||||||
refute_received %Openflow.ErrorMsg{}, 1000
|
refute_receive %Openflow.ErrorMsg{}, 1000
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -528,7 +528,7 @@ defmodule FlogTest do
|
||||||
match: match,
|
match: match,
|
||||||
instructions: ins]
|
instructions: ins]
|
||||||
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
||||||
refute_received %Openflow.ErrorMsg{}, 1000
|
refute_receive %Openflow.ErrorMsg{}, 1000
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -545,7 +545,7 @@ defmodule FlogTest do
|
||||||
match: match,
|
match: match,
|
||||||
instructions: ins]
|
instructions: ins]
|
||||||
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
||||||
refute_received %Openflow.ErrorMsg{}, 1000
|
refute_receive %Openflow.ErrorMsg{}, 1000
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -577,7 +577,7 @@ defmodule FlogTest do
|
||||||
match: match,
|
match: match,
|
||||||
instructions: ins]
|
instructions: ins]
|
||||||
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
||||||
refute_received %Openflow.ErrorMsg{}, 1000
|
refute_receive %Openflow.ErrorMsg{}, 1000
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -608,7 +608,7 @@ defmodule FlogTest do
|
||||||
match: match,
|
match: match,
|
||||||
instructions: ins]
|
instructions: ins]
|
||||||
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
:ok = GenServer.cast(Flay, {:flow_install, options, self()})
|
||||||
refute_received %Openflow.ErrorMsg{}, 1000
|
refute_receive %Openflow.ErrorMsg{}, 1000
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue