You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/11/16 15:25:09 UTC
[GitHub] mhenke1 closed pull request #4117: WIP - Fix test breaks with
default concurrency levels
mhenke1 closed pull request #4117: WIP - Fix test breaks with default concurrency levels
URL: https://github.com/apache/incubator-openwhisk/pull/4117
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/ansible/environments/local/group_vars/all b/ansible/environments/local/group_vars/all
index 4a2d8e0d21..65e0a5ae45 100755
--- a/ansible/environments/local/group_vars/all
+++ b/ansible/environments/local/group_vars/all
@@ -30,7 +30,3 @@ kafka_topics_invoker_retentionBytes: 104857600
kafka_topics_invoker_retentionMS: 300000
env_hosts_dir: "{{ playbook_dir }}/environments/local"
-
-container_pool_akka_client: true
-runtimes_enable_concurrency: true
-limit_action_concurrency_max: 500
diff --git a/tests/dat/actions/concurrent.js b/tests/dat/actions/concurrent.js
index 786efa2d65..c95a59b79e 100644
--- a/tests/dat/actions/concurrent.js
+++ b/tests/dat/actions/concurrent.js
@@ -36,4 +36,4 @@ function checkRequests(args, resolve, reject, elapsed) {
}, interval);
}
}
-}
\ No newline at end of file
+}
diff --git a/tests/src/test/scala/org/apache/openwhisk/core/limits/ActionLimitsTests.scala b/tests/src/test/scala/org/apache/openwhisk/core/limits/ActionLimitsTests.scala
index feba31ee3f..212237d236 100644
--- a/tests/src/test/scala/org/apache/openwhisk/core/limits/ActionLimitsTests.scala
+++ b/tests/src/test/scala/org/apache/openwhisk/core/limits/ActionLimitsTests.scala
@@ -144,7 +144,6 @@ class ActionLimitsTests extends TestHelpers with WskTestHelpers with WskActorSys
PermutationTestParameter(None, Some((MemoryLimit.maxMemory.toMB * 5).MB), None, None, BAD_REQUEST), // memory limit that is much higher than allowed
PermutationTestParameter(None, None, Some((LogLimit.maxLogSize.toMB * 5).MB), None, BAD_REQUEST), // log size limit that is much higher than allowed
PermutationTestParameter(None, None, None, Some(Int.MaxValue), BAD_REQUEST)) // concurrency limit that is much higher than allowed
-
/**
* Integration test to verify that valid timeout, memory, log size, and concurrency limits are accepted
* when creating an action while any invalid limit is rejected.
@@ -154,7 +153,7 @@ class ActionLimitsTests extends TestHelpers with WskTestHelpers with WskActorSys
* deployment to verify that limit settings of the tested deployment fit with the values
* used in this test.
*/
- perms.foreach { parm =>
+ perms.distinct.foreach { parm =>
it should s"${parm.toExpectedResultString} creation of an action with these limits: ${parm}" in withAssetCleaner(
wskprops) { (wp, assetHelper) =>
val file = Some(TestUtils.getTestActionFilename("hello.js"))
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services