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

Michael Vorburger commented on FINERACT-1265:
---------------------------------------------

I suspect this is some confusion, maybe a bug in the JAX RS implementation, 
related to what the two different {{@GET}} annotated methods in the 
{{ImagesApiResource}} have as {{@Consumes}} and {{@Produces}}... note how the 
{{@Produces({ MediaType.TEXT_PLAIN })}} variant "forwards" (delegates) to the 
{{@Produces({ MediaType.APPLICATION_OCTET_STREAM })}} one... that seems like 
asking for trouble, no? -- I'll try to change that to programmatically control 
it instead.

> ImageTest > getOriginalSize() FAILED expected: text/plain but was : image/jpeg
> ------------------------------------------------------------------------------
>
>                 Key: FINERACT-1265
>                 URL: https://issues.apache.org/jira/browse/FINERACT-1265
>             Project: Apache Fineract
>          Issue Type: Bug
>            Reporter: Michael Vorburger
>            Assignee: Michael Vorburger
>            Priority: Blocker
>             Fix For: 1.5.0
>
>
> [https://travis-ci.com/github/apache/fineract/builds/203311558] (for 
> https://github.com/apache/fineract/pull/1368/), and a number of unrelated 
> recent PRs, have failed due to:
> {noformat}ImageTest > getOriginalSize() FAILED
>  expected: text/plain
>  but was : image/jpeg
>         at 
> org.apache.fineract.integrationtests.client.ImageTest.getOriginalSize(ImageTest.java:57){noformat}
> This goes away when we retry. I don't quite understand how this can be 
> "flaky".



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to