style95 commented on code in PR #5320:
URL: https://github.com/apache/openwhisk/pull/5320#discussion_r959366630
##########
tests/src/test/scala/org/apache/openwhisk/core/scheduler/container/test/ContainerManagerTests.scala:
##########
@@ -910,6 +910,49 @@ class ContainerManagerTests
NoAvailableInvokersError))
}
+ it should "send FailedCreationJob to queue manager when available invoker
query fails" in {
Review Comment:
It seems this test code is not passed.
```
org.apache.openwhisk.core.scheduler.container.test.ContainerManagerTests >
ContainerManager should send FailedCreationJob to queue manager when available
invoker query fails FAILED
java.lang.AssertionError: assertion failed: timeout (3 seconds) during
expectMsg while waiting for
FailedCreationJob(09d0f7d9d7f0465d90f7d9d7f0f65d7c,test-invocation-namespace,ns1/test-action,1-testRev,NoAvailableInvokersError,no
available invoker is found)
at scala.Predef$.assert(Predef.scala:223)
at akka.testkit.TestKitBase.expectMsg_internal(TestKit.scala:459)
at akka.testkit.TestKitBase.expectMsg(TestKit.scala:436)
at akka.testkit.TestKitBase.expectMsg$(TestKit.scala:436)
at akka.testkit.TestKit.expectMsg(TestKit.scala:969)
at
org.apache.openwhisk.core.scheduler.container.test.ContainerManagerTests.$anonfun$new$28(ContainerManagerTests.scala:953)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]