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

Ignite TC Bot commented on IGNITE-18980:
----------------------------------------

{panel:title=Branch: [pull/10586/head] Base: [master] : No blockers 
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/10586/head] Base: [master] : New Tests 
(2)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Java Client{color} [[tests 
2|https://ci2.ignite.apache.org/viewLog.html?buildId=7085426]]
* {color:#013220}GridRestSuite: 
RestProcessorAuthorizationTest.testOldClusterStateChange - PASSED{color}
* {color:#013220}GridRestSuite: 
RestProcessorAuthorizationTest.testClusterStateChange - PASSED{color}

{panel}
[TeamCity *--> Run :: All* 
Results|https://ci2.ignite.apache.org/viewLog.html?buildId=7085486&buildTypeId=IgniteTests24Java8_RunAll]

> Fix REST status code in case of failed request
> ----------------------------------------------
>
>                 Key: IGNITE-18980
>                 URL: https://issues.apache.org/jira/browse/IGNITE-18980
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Vladimir Steshin
>            Assignee: Nikita Amelchev
>            Priority: Major
>              Labels: ise
>             Fix For: 2.15
>
>         Attachments: RestProcessorSuccessStatusTest.java
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> _GridRestResponse_ should obtain proper 'not-OK' status on error. Often, 
> _GridRestResponse#getSuccessStatus()_ is `GridRestResponse#STATUS_SUCCESS` 
> even if the response is actually an error. 
> Probably, we should revise _GridRestResponse#setError(String)_. It should 
> set/check an error status like _GridRestResponse(int status, @Nullable String 
> err)_
> A test attached.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to