camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject git commit: Save some test time of TimerWithTimeOptionTest
Date Tue, 05 Nov 2013 09:21:48 GMT
Updated Branches:
  refs/heads/master 2183730cf -> 94f5dcbe5


Save some test time of TimerWithTimeOptionTest


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/94f5dcbe
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/94f5dcbe
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/94f5dcbe

Branch: refs/heads/master
Commit: 94f5dcbe52dc7463728caa069b9f4b7e693ef8df
Parents: 2183730
Author: Willem Jiang <willem.jiang@gmail.com>
Authored: Tue Nov 5 17:21:01 2013 +0800
Committer: Willem Jiang <willem.jiang@gmail.com>
Committed: Tue Nov 5 17:21:01 2013 +0800

----------------------------------------------------------------------
 .../component/timer/TimerWithTimeOptionTest.java      | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/94f5dcbe/camel-core/src/test/java/org/apache/camel/component/timer/TimerWithTimeOptionTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/component/timer/TimerWithTimeOptionTest.java
b/camel-core/src/test/java/org/apache/camel/component/timer/TimerWithTimeOptionTest.java
index c54990f..6a0a1a6 100644
--- a/camel-core/src/test/java/org/apache/camel/component/timer/TimerWithTimeOptionTest.java
+++ b/camel-core/src/test/java/org/apache/camel/component/timer/TimerWithTimeOptionTest.java
@@ -39,7 +39,7 @@ public class TimerWithTimeOptionTest extends ContextTestSupport {
         context.addRoutes(new RouteBuilder() {
             @Override
             public void configure() throws Exception {
-                Date future = new Date(new Date().getTime() + 2000);
+                Date future = new Date(new Date().getTime() + 1000);
 
                 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
                 String time = sdf.format(future);
@@ -60,7 +60,7 @@ public class TimerWithTimeOptionTest extends ContextTestSupport {
         context.addRoutes(new RouteBuilder() {
             @Override
             public void configure() throws Exception {
-                Date future = new Date(new Date().getTime() + 2000);
+                Date future = new Date(new Date().getTime() + 1000);
 
                 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
                 String time = sdf.format(future);
@@ -80,7 +80,7 @@ public class TimerWithTimeOptionTest extends ContextTestSupport {
         context.addRoutes(new RouteBuilder() {
             @Override
             public void configure() throws Exception {
-                Date future = new Date(new Date().getTime() + 2000);
+                Date future = new Date(new Date().getTime() + 1000);
 
                 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
                 String time = sdf.format(future);
@@ -101,7 +101,7 @@ public class TimerWithTimeOptionTest extends ContextTestSupport {
         context.addRoutes(new RouteBuilder() {
             @Override
             public void configure() throws Exception {
-                Date future = new Date(new Date().getTime() + 2000);
+                Date future = new Date(new Date().getTime() + 1000);
 
                 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
                 String time = sdf.format(future);
@@ -122,7 +122,7 @@ public class TimerWithTimeOptionTest extends ContextTestSupport {
         context.addRoutes(new RouteBuilder() {
             @Override
             public void configure() throws Exception {
-                Date future = new Date(new Date().getTime() + 2000);
+                Date future = new Date(new Date().getTime() + 1000);
 
                 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
                 String time = sdf.format(future);
@@ -142,7 +142,7 @@ public class TimerWithTimeOptionTest extends ContextTestSupport {
         context.addRoutes(new RouteBuilder() {
             @Override
             public void configure() throws Exception {
-                Date future = new Date(new Date().getTime() + 2000);
+                Date future = new Date(new Date().getTime() + 1000);
 
                 SimpleDateFormat sdf = new SimpleDateFormat("dd-MM-yyyy HH:mm:ss");
                 String time = sdf.format(future);
@@ -163,7 +163,7 @@ public class TimerWithTimeOptionTest extends ContextTestSupport {
         context.addRoutes(new RouteBuilder() {
             @Override
             public void configure() throws Exception {
-                Date future = new Date(new Date().getTime() + 2000);
+                Date future = new Date(new Date().getTime() + 1000);
 
                 SimpleDateFormat sdf = new SimpleDateFormat("dd-MM-yyyy HH:mm:ss");
                 String time = sdf.format(future);


Mime
View raw message