This is an automated email from the ASF dual-hosted git repository.
bdelacretaz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-whiteboard.git
The following commit(s) were added to refs/heads/master by this push:
new 0df460e Fix Gatling test
new 2b944fb Merge branch 'master' of github.com:apache/sling-whiteboard
0df460e is described below
commit 0df460e5296fbb522e3a05c8217d8592d618b4c5
Author: Bertrand Delacretaz <[email protected]>
AuthorDate: Thu Sep 6 10:47:11 2018 +0200
Fix Gatling test
---
.../src/test/scala/sling/PostServletSimulation.scala | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git
a/karate-http-testing/src/test/scala/sling/PostServletSimulation.scala
b/karate-http-testing/src/test/scala/sling/PostServletSimulation.scala
index adcc5fa..7455e10 100644
--- a/karate-http-testing/src/test/scala/sling/PostServletSimulation.scala
+++ b/karate-http-testing/src/test/scala/sling/PostServletSimulation.scala
@@ -19,8 +19,14 @@ class PostServletSimulation extends Simulation {
"/importContentTest/*" -> pauseFor("post" -> 7, "get" -> 15, "delete" ->
50),
)
- val createContent =
scenario("create").exec(karateFeature("classpath:sling/postservlet/createcontent/createContent.feature"))
- val importContent =
scenario("import").exec(karateFeature("classpath:sling/postservlet/createcontent/importContent.feature"))
+ val createContent = scenario("create")
+ .exec(
+ karateFeature("classpath:sling/postservlet/createContent.feature")
+ )
+ val importContent = scenario("import")
+ .exec(
+ karateFeature("classpath:sling/postservlet/importContent.feature")
+ )
setUp(
createContent.inject(rampUsers(75) over (5 seconds)).protocols(protocol),