Skip to content

Commit

Permalink
fix the order of completion on run 3 and 4
Browse files Browse the repository at this point in the history
  • Loading branch information
tysonnorris committed May 8, 2018
1 parent b4ac668 commit d2a4083
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -448,10 +448,10 @@ class ContainerProxyTests

println("completing run 3")
runPromises(2) complete Try(runInterval, ActivationResponse.success())
expectWarmed(invocationNamespace.name, action, 1) //when third completes (stays in running)
println("completing run 4")
runPromises(3) complete Try(runInterval, ActivationResponse.success())

expectWarmed(invocationNamespace.name, action, 2) //when third completes (stay running)
expectWarmed(invocationNamespace.name, action, 0) //when fourth completes
expectMsg(Transition(machine, Running, Ready))

Expand Down

0 comments on commit d2a4083

Please sign in to comment.