Uploaded image for project: 'FUSE Mediation Router'
  1. FUSE Mediation Router
  2. MR-181

Solaris 64bit jdk1.6 test failure org.apache.camel.component.atom.AtomPollingLowDelayTest

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.6.1.1-fuse
    • 1.5.4.0-fuse
    • None
    • None

      Testing 1.5.4.0-fuse for the Solaris 64bit jdk1.6 customer certification.

      This test seems to fail every time on solaris with this jdk, unless I increase the wait time in the test as follows
      (smaller wait times such as 5000 pass occasionally, but not consistently):

      uxadssolbld(pjones): svn diff
      Index: src/test/java/org/apache/camel/component/atom/AtomPollingLowDelayTest.java
      ===================================================================
      --- src/test/java/org/apache/camel/component/atom/AtomPollingLowDelayTest.java (revision 13354)
      +++ src/test/java/org/apache/camel/component/atom/AtomPollingLowDelayTest.java (working copy)
      @@ -28,7 +28,7 @@
           public void testLowDelay() throws Exception {
               MockEndpoint mock = getMockEndpoint("mock:result");
               mock.expectedMessageCount(7);
      -        mock.setResultWaitTime(1000L);
      +        mock.setResultWaitTime(6000L);
               mock.assertIsSatisfied();
           }
      

      Could someone on the fuse team review this to ensure this is the correct fix for the issue, and if so, apply it so that it makes the next MB release?

            cibsen@redhat.com Claus Ibsen
            peterjones1_jira Peter Jones (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: