[ 
https://issues.apache.org/jira/browse/FLUME-2488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14221774#comment-14221774
 ] 

Hudson commented on FLUME-2488:
-------------------------------

SUCCESS: Integrated in flume-trunk #702 (See 
[https://builds.apache.org/job/flume-trunk/702/])
FLUME-2488: TestElasticSearchRestClient fails on Oracle JDK 8 (jarcec: 
http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=d1227feb601f30d0c7ec2910b91e648ee410d179)
* 
flume-ng-sinks/flume-ng-elasticsearch-sink/src/test/java/org/apache/flume/sink/elasticsearch/client/TestElasticSearchRestClient.java


> TestElasticSearchRestClient fails on Oracle JDK 8
> -------------------------------------------------
>
>                 Key: FLUME-2488
>                 URL: https://issues.apache.org/jira/browse/FLUME-2488
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>    Affects Versions: v1.5.0.1
>            Reporter: Santiago M. Mola
>            Assignee: Johny Rufus
>              Labels: jdk8
>             Fix For: v1.6.0
>
>         Attachments: FLUME-2488-0.patch, FLUME-2488-1.patch
>
>
> The JSON comparison should be performed independently of the keys order:
> https://travis-ci.org/Stratio/flume/jobs/36847693#L6735
> shouldAddNewEventWithoutTTL(org.apache.flume.sink.elasticsearch.client.TestElasticSearchRestClient)
>  Time elapsed: 493 sec <<< FAILURE!
> junit.framework.ComparisonFailure: 
> expected:<{"index":{"_[type":"bar_type","_index":"foo_index]"}}
> {"body":"test"}
> > but was:<{"index":{"_[index":"foo_index","_type":"bar_type]"}}
> {"body":"test"}
> >
> at junit.framework.Assert.assertEquals(Assert.java:85)
> at junit.framework.Assert.assertEquals(Assert.java:91)
> at 
> org.apache.flume.sink.elasticsearch.client.TestElasticSearchRestClient.shouldAddNewEventWithoutTTL(TestElasticSearchRestClient.java:105)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to