From f933685c736d7ca574ec4d2aa697c5c19e5c6a25 Mon Sep 17 00:00:00 2001 From: "ning.yougang" Date: Fri, 20 Nov 2020 15:13:53 +0800 Subject: [PATCH] Fix test case error --- .../core/containerpool/test/ContainerPoolTests.scala | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/src/test/scala/org/apache/openwhisk/core/containerpool/test/ContainerPoolTests.scala b/tests/src/test/scala/org/apache/openwhisk/core/containerpool/test/ContainerPoolTests.scala index 3f3786b8600..3fd04143c06 100644 --- a/tests/src/test/scala/org/apache/openwhisk/core/containerpool/test/ContainerPoolTests.scala +++ b/tests/src/test/scala/org/apache/openwhisk/core/containerpool/test/ContainerPoolTests.scala @@ -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