You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pa...@apache.org on 2018/07/13 18:35:59 UTC

[camel] branch master updated: SedaBlockWhenFullTest#testSedaOfferTimeoutWhenFull: Polished

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 34b4f11  SedaBlockWhenFullTest#testSedaOfferTimeoutWhenFull: Polished
34b4f11 is described below

commit 34b4f11beaff281c1d0e422a40e73f79ad98f11d
Author: Pascal Schumacher <pa...@gmx.net>
AuthorDate: Fri Jul 13 20:35:52 2018 +0200

    SedaBlockWhenFullTest#testSedaOfferTimeoutWhenFull: Polished
---
 .../org/apache/camel/component/seda/SedaBlockWhenFullTest.java    | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/camel-core/src/test/java/org/apache/camel/component/seda/SedaBlockWhenFullTest.java b/camel-core/src/test/java/org/apache/camel/component/seda/SedaBlockWhenFullTest.java
index 949b2cc..b64fe87 100644
--- a/camel-core/src/test/java/org/apache/camel/component/seda/SedaBlockWhenFullTest.java
+++ b/camel-core/src/test/java/org/apache/camel/component/seda/SedaBlockWhenFullTest.java
@@ -46,9 +46,7 @@ public class SedaBlockWhenFullTest extends ContextTestSupport {
             }
         };
     }
-    
-    
-   
+
     public void testSedaOfferTimeoutWhenFull() throws Exception {
         try {
             SedaEndpoint seda = context.getEndpoint(SEDA_WITH_OFFER_TIMEOUT_URI, SedaEndpoint.class);
@@ -56,8 +54,8 @@ public class SedaBlockWhenFullTest extends ContextTestSupport {
 
             sendTwoOverCapacity(SEDA_WITH_OFFER_TIMEOUT_URI, QUEUE_SIZE);
 
-            fail("Fails to insert element into queue, "
-                    + "after timeout of"  + seda.getOfferTimeout() + "milliseconds");
+            fail("Failed to insert element into queue, "
+                    + "after timeout of " + seda.getOfferTimeout() + " milliseconds");
         } catch (Exception e) {
             assertIsInstanceOf(IllegalStateException.class, e.getCause());
         }