This is an automated email from the ASF dual-hosted git repository.

nferraro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 6a595c6c59058acf1957b5c535d9343dc3061e6b
Author: Nicola Ferraro <[email protected]>
AuthorDate: Tue May 5 14:43:09 2020 +0200

    Fix #1367: fix timer period in tests using camel 3.2 syntax
---
 docs/modules/ROOT/pages/index.adoc           | 2 +-
 docs/modules/ROOT/pages/running/running.adoc | 2 +-
 e2e/common/files/yaml-polyglot.yaml          | 2 +-
 e2e/common/files/yaml.yaml                   | 2 +-
 e2e/knative/files/yaml.yaml                  | 2 +-
 e2e/yaks/knative/source.yaml                 | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/docs/modules/ROOT/pages/index.adoc 
b/docs/modules/ROOT/pages/index.adoc
index b4857ee..264bbfd 100644
--- a/docs/modules/ROOT/pages/index.adoc
+++ b/docs/modules/ROOT/pages/index.adoc
@@ -10,7 +10,7 @@ Users of Camel K can instantly run integration code written 
in Camel DSL on thei
 Just write a _helloworld.groovy_ integration file with the following content:
 
 ```groovy
-from('timer:tick?period=3s')
+from('timer:tick?period=3000')
   .setBody().constant('Hello world from Camel K')
   .to('log:info')
 ```
diff --git a/docs/modules/ROOT/pages/running/running.adoc 
b/docs/modules/ROOT/pages/running/running.adoc
index ead27b1..31287f9 100644
--- a/docs/modules/ROOT/pages/running/running.adoc
+++ b/docs/modules/ROOT/pages/running/running.adoc
@@ -17,7 +17,7 @@ You are now ready to create your first integration using 
Camel K. Just create a
 
 .hello.groovy
 ```groovy
-from('timer:tick?period=3s')
+from('timer:tick?period=3000')
   .setBody().constant('Hello world from Camel K')
   .to('log:info')
 ```
diff --git a/e2e/common/files/yaml-polyglot.yaml 
b/e2e/common/files/yaml-polyglot.yaml
index ca08ce3..0634d2f 100644
--- a/e2e/common/files/yaml-polyglot.yaml
+++ b/e2e/common/files/yaml-polyglot.yaml
@@ -18,7 +18,7 @@
 - from:
     uri: "timer:yaml"
     parameters:
-      period: "5s"
+      period: "5000"
     steps:
       - set-header:
           name: "m"
diff --git a/e2e/common/files/yaml.yaml b/e2e/common/files/yaml.yaml
index 2b536dd..9ccf652 100644
--- a/e2e/common/files/yaml.yaml
+++ b/e2e/common/files/yaml.yaml
@@ -18,7 +18,7 @@
 - from:
     uri: "timer:yaml"
     parameters:
-      period: "5s"
+      period: "5000"
     steps:
       - set-header:
           name: "m"
diff --git a/e2e/knative/files/yaml.yaml b/e2e/knative/files/yaml.yaml
index 2b536dd..9ccf652 100644
--- a/e2e/knative/files/yaml.yaml
+++ b/e2e/knative/files/yaml.yaml
@@ -18,7 +18,7 @@
 - from:
     uri: "timer:yaml"
     parameters:
-      period: "5s"
+      period: "5000"
     steps:
       - set-header:
           name: "m"
diff --git a/e2e/yaks/knative/source.yaml b/e2e/yaks/knative/source.yaml
index 32b9823..88c4e5d 100644
--- a/e2e/yaks/knative/source.yaml
+++ b/e2e/yaks/knative/source.yaml
@@ -30,7 +30,7 @@ spec:
       from:
         uri: timer:tick
         parameters:
-          period: 3s
+          period: 3000
         steps:
         - set-header:
             constant: text/plain

Reply via email to