[
https://issues.apache.org/jira/browse/GEODE-2905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16009811#comment-16009811
]
ASF GitHub Bot commented on GEODE-2905:
---------------------------------------
GitHub user nabarunnag opened a pull request:
https://github.com/apache/geode/pull/514
GEODE-2905: Added extra logging to determine the cause of failure.
* Replaced assertTrue with assertEquals so that the commandResult is
displayed in case of an error.
Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
### For all changes:
- [ ] Is there a JIRA ticket associated with this PR? Is it referenced in
the commit message?
- [ ] Has your PR been rebased against the latest commit within the target
branch (typically `develop`)?
- [ ] Is your initial contribution a single, squashed commit?
- [ ] Does `gradlew build` run cleanly?
- [ ] Have you written or updated unit tests to verify your changes?
- [ ] If adding new dependencies to the code, are these dependencies
licensed in a way that is compatible for inclusion under [ASF
2.0](http://www.apache.org/legal/resolved.html#category-a)?
### Note:
Please ensure that once the PR is submitted, you check travis-ci for build
issues and
submit an update to your PR as soon as possible. If you need help, please
send an
email to [email protected].
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nabarunnag/incubator-geode feature/GEODE-2905
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/geode/pull/514.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 #514
----
commit a3c347e8a21e3d53152a0bdb03ae79c094489da6
Author: nabarunnag <[email protected]>
Date: 2017-05-14T18:17:02Z
GEODE-2905: Added extra logging to determine the cause of failure.
* Replaced assertTrue with assertEquals so that the commandResult is
displayed in case of an error.
----
> CI failure:
> org.apache.geode.cache.lucene.internal.cli.LuceneIndexCommandsDUnitTest >
> searchWithoutIndexShouldReturnError
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: GEODE-2905
> URL: https://issues.apache.org/jira/browse/GEODE-2905
> Project: Geode
> Issue Type: Bug
> Components: lucene
> Reporter: Shelley Lynn Hughes-Godfrey
> Assignee: nabarun
>
> This test failed in Apache Jenkins build #830.
> {noformat}
> org.apache.geode.cache.lucene.internal.cli.LuceneIndexCommandsDUnitTest >
> searchWithoutIndexShouldReturnError FAILED
> java.lang.AssertionError
> at org.junit.Assert.fail(Assert.java:86)
> at org.junit.Assert.assertTrue(Assert.java:41)
> at org.junit.Assert.assertTrue(Assert.java:52)
> at
> org.apache.geode.cache.lucene.internal.cli.LuceneIndexCommandsDUnitTest.searchWithoutIndexShouldReturnError(LuceneIndexCommandsDUnitTest.java:462)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)