master - Fixed jetty REST processor testIncorrectPut

Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/c4d81808
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/c4d81808
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/c4d81808

Branch: refs/heads/ignite-1561-1
Commit: c4d81808c3cc002f1c71afb275361b728a84440b
Parents: 862d8af
Author: Dmitriy Govorukhin <dmitriy.govoruk...@gmail.com>
Authored: Tue Apr 18 15:44:15 2017 +0300
Committer: Alexey Goncharuk <alexey.goncha...@gmail.com>
Committed: Tue Apr 18 15:46:06 2017 +0300

----------------------------------------------------------------------
 .../processors/rest/JettyRestProcessorAbstractSelfTest.java       | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/c4d81808/modules/clients/src/test/java/org/apache/ignite/internal/processors/rest/JettyRestProcessorAbstractSelfTest.java
----------------------------------------------------------------------
diff --git 
a/modules/clients/src/test/java/org/apache/ignite/internal/processors/rest/JettyRestProcessorAbstractSelfTest.java
 
b/modules/clients/src/test/java/org/apache/ignite/internal/processors/rest/JettyRestProcessorAbstractSelfTest.java
index 63429a5..e5d9997 100644
--- 
a/modules/clients/src/test/java/org/apache/ignite/internal/processors/rest/JettyRestProcessorAbstractSelfTest.java
+++ 
b/modules/clients/src/test/java/org/apache/ignite/internal/processors/rest/JettyRestProcessorAbstractSelfTest.java
@@ -542,7 +542,8 @@ public abstract class JettyRestProcessorAbstractSelfTest 
extends AbstractRestPro
     public void testIncorrectPut() throws Exception {
         String ret = content(F.asMap("cmd", GridRestCommand.CACHE_PUT.key(), 
"key", "key0"));
 
-        assertResponseContainsError(ret, "Failed to find mandatory parameter 
in request: val");
+        assertResponseContainsError(ret,
+            "Failed to handle request: [req=CACHE_PUT, err=Failed to find 
mandatory parameter in request: val]");
     }
 
     /**

Reply via email to