markusthoemmes commented on a change in pull request #3619: Provide an
activation store SPI
URL:
https://github.com/apache/incubator-openwhisk/pull/3619#discussion_r194630575
##########
File path:
tests/src/test/scala/whisk/core/controller/test/ActivationsApiTests.scala
##########
@@ -530,10 +558,14 @@ class ActivationsApiTests extends ControllerTestCommon
with WhiskActivationsApi
ActivationId.generate(),
start = Instant.now,
end = Instant.now)
- put(entityStore, activation)
+ storeActivation(activation)
+ try {
- Get(s"$collectionPath/${activation.activationId.asString}/bogus") ~>
Route.seal(routes(creds)) ~> check {
- status should be(NotFound)
+ Get(s"$collectionPath/${activation.activationId.asString}/bogus") ~>
Route.seal(routes(creds)) ~> check {
+ status should be(NotFound)
+ }
+ } finally {
+ deleteActivation(ActivationId(activation.docid.asString))
Review comment:
Good one on deleting all the assets 👍
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services