Uploaded image for project: 'Falcon'
  1. Falcon
  2. FALCON-2304

SchedulerServiceTest.testDeRegistration test fails

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: trunk
    • Fix Version/s: None
    • Component/s: scheduler
    • Labels:
      None
    • Environment:

      ~# uname -a
      Linux hj-ibmibm9350 3.19.0-37-generic #42-Ubuntu SMP Fri Nov 20 18:22:05 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

      Description

      org.apache.falcon.notification.service.SchedulerServiceTest.testDeRegistration

      Error Message

      expected:<1> but was:<null>
      
      

      Stacktrace

      java.lang.AssertionError: expected:<1> but was:<null>
      	at org.testng.Assert.fail(Assert.java:89)
      	at org.testng.Assert.failNotEquals(Assert.java:489)
      	at org.testng.Assert.assertEquals(Assert.java:118)
      	at org.testng.Assert.assertEquals(Assert.java:160)
      	at org.apache.falcon.notification.service.SchedulerServiceTest.testDeRegistration(SchedulerServiceTest.java:274)
      
      1. FALCON-2304.patch
        0.9 kB
        Pravin Dsilva

        Issue Links

          Activity

          Hide
          pravindsilva Pravin Dsilva added a comment -

          The test passes when i increase the timeout value. Attaching the patch here for reference.

          Show
          pravindsilva Pravin Dsilva added a comment - The test passes when i increase the timeout value. Attaching the patch here for reference.
          Hide
          sandeep.samudrala sandeep samudrala added a comment -

          Pravin Dsilva: Falcon has moved to Pull request model for patches. Please raise pull request against Apache Falcon github.

          Show
          sandeep.samudrala sandeep samudrala added a comment - Pravin Dsilva : Falcon has moved to Pull request model for patches. Please raise pull request against Apache Falcon github.
          Hide
          githubbot ASF GitHub Bot added a comment -

          GitHub user pravin-dsilva opened a pull request:

          https://github.com/apache/falcon/pull/386

          FALCON-2304 SchedulerServiceTest.testDeRegistration test fails

          The test fails with

          ```
          java.lang.AssertionError: expected:<1> but was:<null>
          at org.testng.Assert.fail(Assert.java:89)
          at org.testng.Assert.failNotEquals(Assert.java:489)
          at org.testng.Assert.assertEquals(Assert.java:118)
          at org.testng.Assert.assertEquals(Assert.java:160)
          at org.apache.falcon.notification.service.SchedulerServiceTest.testDeRegistration(SchedulerServiceTest.java:274)
          ```
          The test passed by increasing the timeout.

          You can merge this pull request into a Git repository by running:

          $ git pull https://github.com/pravin-dsilva/falcon testDeRegistration-timeout

          Alternatively you can review and apply these changes as the patch at:

          https://github.com/apache/falcon/pull/386.patch

          To close this pull request, make a commit to your master/trunk branch
          with (at least) the following in the commit message:

          This closes #386


          commit 4bf0d649a82b8e4bdfaf3ce74bb252750e34d2db
          Author: Pravin D'silva <pravind@us.ibm.com>
          Date: 2017-08-28T10:50:56Z

          Increase timeout in testDeRegistration test


          Show
          githubbot ASF GitHub Bot added a comment - GitHub user pravin-dsilva opened a pull request: https://github.com/apache/falcon/pull/386 FALCON-2304 SchedulerServiceTest.testDeRegistration test fails The test fails with ``` java.lang.AssertionError: expected:<1> but was:<null> at org.testng.Assert.fail(Assert.java:89) at org.testng.Assert.failNotEquals(Assert.java:489) at org.testng.Assert.assertEquals(Assert.java:118) at org.testng.Assert.assertEquals(Assert.java:160) at org.apache.falcon.notification.service.SchedulerServiceTest.testDeRegistration(SchedulerServiceTest.java:274) ``` The test passed by increasing the timeout. You can merge this pull request into a Git repository by running: $ git pull https://github.com/pravin-dsilva/falcon testDeRegistration-timeout Alternatively you can review and apply these changes as the patch at: https://github.com/apache/falcon/pull/386.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #386 commit 4bf0d649a82b8e4bdfaf3ce74bb252750e34d2db Author: Pravin D'silva <pravind@us.ibm.com> Date: 2017-08-28T10:50:56Z Increase timeout in testDeRegistration test

            People

            • Assignee:
              pravindsilva Pravin Dsilva
              Reporter:
              pravindsilva Pravin Dsilva
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Development