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

Six recurring test failures on slower machines (solaris)

XMLWordPrintable

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

      There are 6 tests which fail regularly when run on a slow machine. By adjusting the timeouts/sleeps in these 6 tests, I can get a green build of the 1.x-fuse branch needed for the Solaris 10 Sparc 64-bit customer certification request. I've attached a patch which includes the timeout changes.

      A rundown of the changes made is as follows:
      components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFileToFtpTest.java - retry connection once to ftp to cover case where startup is slow.
      components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringThrottlerTest.java - changed wait timeout from 1 second to 2 seconds
      components/camel-mail/src/test/java/org/apache/camel/component/mail/MailDefaultDelayForMailConsumeTest.java - change result wait time from 2 seconds to 4 seconds
      components/camel-amqp/src/test/java/org/apache/camel/component/amqp/AMQPRouteTest.java - added 1 second sleep before sending message so that it message will be received on a slow machine
      components/camel-bam/src/test/java/org/apache/camel/bam/MultipleActivitiesConcurrentlyTest.java - added 8 second sleep in setUp to allow things to be ready before running test
      camel-itest/src/test/java/org/apache/camel/itest/greeter/CamelGreeterTest.java - doubled sleep time for message processing from 4 to 8 seconds

            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: