[
https://issues.apache.org/jira/browse/FALCON-2342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16620420#comment-16620420
]
ASF GitHub Bot commented on FALCON-2342:
----------------------------------------
GitHub user Prajyot-Parab opened a pull request:
https://github.com/apache/falcon/pull/416
FALCON-2342 testDeRegistration timeout fixed using waitFor function
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)
```
Implemented waitFor() function to fix it.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Prajyot-Parab/falcon
testDeRegistration-instance-timeout-fix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/falcon/pull/416.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 #416
----
commit 6a8985f671c14df2a03b4f36e4a901f9b80c82a5
Author: Prajyot-Parab <prajyot.parab@...>
Date: 2018-09-11T15:34:31Z
FALCON-2342 testDeRegistration timeout fixed using waitFor function
----
> SchedulerServiceTest.testDeRegistration test fails
> --------------------------------------------------
>
> Key: FALCON-2342
> URL: https://issues.apache.org/jira/browse/FALCON-2342
> Project: Falcon
> Issue Type: Bug
> Components: scheduler
> Affects Versions: trunk
> Environment: ~# uname -a
> Linux hj-ibmibm12306 3.10.0-862.3.2.el7.x86_64 #1 SMP Tue May 15 18:22:15 EDT
> 2018 x86_64 x86_64 x86_64 GNU/Linux
> Reporter: prajyot parab
> Priority: Minor
>
> org.apache.falcon.notification.service.SchedulerServiceTest.testDeRegistration
> *Error Message*
> {code:java}
> expected:<1> but was:<null>
> {code}
> *Stacktrace*
> {code:java}
> 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){code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)