[ 
https://issues.apache.org/jira/browse/FINERACT-1247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Vorburger updated FINERACT-1247:
----------------------------------------
    Comment: was deleted

(was: Oh, I forgot, this is just because of that {{options.compilerArgs -= 
["-Werror"]}} in {{fineract-client/build.gradle}}... which you had to put there 
because _the generated code contains some warnings in 
build/generated/java/src/main/java/org/apache/fineract/client/auth/OAuthOkHttpClient.java#L71
 that won't pass_.

A better solution than removing {{-Werror}} could be just to remove 
{{deprecation}}. I've tried that like this, but it didn't work:

{{options.compilerArgs -= ["-Xlint:deprecation"]}}
{{options.compilerArgs += ["-Xlint:-deprecation"]}})

> ImageTest failures
> ------------------
>
>                 Key: FINERACT-1247
>                 URL: https://issues.apache.org/jira/browse/FINERACT-1247
>             Project: Apache Fineract
>          Issue Type: Bug
>    Affects Versions: 1.5.0
>            Reporter: Michael Vorburger
>            Assignee: Michael Vorburger
>            Priority: Major
>             Fix For: 1.5.0
>
>
> The (my) new ImageTest introduced in FINERACT-1218 seems to fail on Travis - 
> but only sometimes:
> {noformat}> Task :fineract-client:test FAILED
> (...)
> ImageTest > getSmallerSize() FAILED
>     org.apache.fineract.client.util.CallFailedRuntimeException at 
> ImageTest.java:69
> ImageTest > getBiggerSize() FAILED
>     org.apache.fineract.client.util.CallFailedRuntimeException at 
> ImageTest.java:76
> ImageTest > getInlineOctetOutput() FAILED
>     org.apache.fineract.client.util.CallFailedRuntimeException at 
> ImageTest.java:84
> ImageTest > getOctetOutput() FAILED
>     org.apache.fineract.client.util.CallFailedRuntimeException at 
> ImageTest.java:93
> ImageTest > getAnotherOutput() FAILED
>     org.apache.fineract.client.util.CallFailedRuntimeException at 
> ImageTest.java:102
> ImageTest > getText() FAILED
>     org.apache.fineract.client.util.CallFailedRuntimeException at 
> ImageTest.java:110
> ImageTest > getBytes() FAILED
>     org.apache.fineract.client.util.CallFailedRuntimeException at 
> ImageTest.java:118
> 31 tests completed, 7 failed, 2 skipped{noformat}
> This MAY be due to some intermittent problem on https://www.fineract.dev, 
> which those tests currently run against? (But the error logs there don't show 
> anything.)



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

Reply via email to