This is an automated email from the ASF dual-hosted git repository.
markusthoemmes pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git
The following commit(s) were added to refs/heads/master by this push:
new 60da05b Let the AssetCleaner return the result of the test. (#3308)
60da05b is described below
commit 60da05bb7f8b101f1527e9392f915e86e1e07bdf
Author: Christian Bickel <[email protected]>
AuthorDate: Tue Feb 20 16:43:27 2018 +0100
Let the AssetCleaner return the result of the test. (#3308)
---
tests/src/test/scala/common/WskTestHelpers.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/src/test/scala/common/WskTestHelpers.scala
b/tests/src/test/scala/common/WskTestHelpers.scala
index dbd03ca..eb4bad6 100644
--- a/tests/src/test/scala/common/WskTestHelpers.scala
+++ b/tests/src/test/scala/common/WskTestHelpers.scala
@@ -150,7 +150,7 @@ trait WskTestHelpers extends Matchers {
* list that is iterated at the end of the test so that these entities are
deleted
* (from most recently created to oldest).
*/
- def withAssetCleaner(wskprops: WskProps)(test: (WskProps, AssetCleaner) =>
Any): Unit = {
+ def withAssetCleaner[T](wskprops: WskProps)(test: (WskProps, AssetCleaner)
=> T): T = {
// create new asset list to track what must be deleted after test completes
val assetsToDeleteAfterTest = new Assets()
--
To stop receiving notification emails like this one, please contact
[email protected].