Skip to content

Commit

Permalink
Fix test case error
Browse files Browse the repository at this point in the history
  • Loading branch information
ningyougang committed Jan 18, 2021
1 parent 2c923a2 commit 22db3cb
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,8 @@ class ContainerPoolTests
val feed = TestProbe()

val pool =
system.actorOf(
ContainerPool
.props(factory, poolConfig(MemoryLimit.STD_MEMORY), feed.ref, List(PrewarmingConfig(1, exec, memoryLimit))))
system.actorOf(ContainerPool
.props(factory, poolConfig(MemoryLimit.STD_MEMORY * 2), feed.ref, List(PrewarmingConfig(1, exec, memoryLimit))))
containers(0).expectMsg(Start(exec, memoryLimit))
containers(0).send(pool, NeedWork(preWarmedData(exec.kind)))
pool ! runMessage
Expand Down

0 comments on commit 22db3cb

Please sign in to comment.