summaryrefslogtreecommitdiffstats
path: root/node-repository
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@yahoo-inc.com>2017-04-28 10:39:06 +0200
committerJon Bratseth <bratseth@yahoo-inc.com>2017-04-28 10:39:06 +0200
commit97a66e9a0689856a5697d6bda8244f18c97bd8da (patch)
treeee36590a157556562b7a7998346774cda2da438b /node-repository
parentee3f2092b5e6a91944d36d17f8ed8fa5242e91aa (diff)
Propagate OutOfCapacity from config web service
Diffstat (limited to 'node-repository')
-rw-r--r--node-repository/src/test/java/com/yahoo/vespa/hosted/provision/restapi/v2/RestApiTest.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/node-repository/src/test/java/com/yahoo/vespa/hosted/provision/restapi/v2/RestApiTest.java b/node-repository/src/test/java/com/yahoo/vespa/hosted/provision/restapi/v2/RestApiTest.java
index 502db89bc00..bad123aff82 100644
--- a/node-repository/src/test/java/com/yahoo/vespa/hosted/provision/restapi/v2/RestApiTest.java
+++ b/node-repository/src/test/java/com/yahoo/vespa/hosted/provision/restapi/v2/RestApiTest.java
@@ -23,6 +23,10 @@ import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
/**
+ * Test of the nodes/v2 API.
+ *
+ * Note: This class is referenced from our operations documentation and must not be renamed/moved without updating that.
+ *
* @author bratseth
*/
public class RestApiTest {
@@ -100,7 +104,7 @@ public class RestApiTest {
// PUT nodes ready
assertResponse(new Request("http://localhost:8080/nodes/v2/state/dirty/host8.yahoo.com",
- new byte[0], Request.Method.PUT),
+ new byte[0], Request.Method.PUT),
"{\"message\":\"Moved host8.yahoo.com to dirty\"}");
assertResponse(new Request("http://localhost:8080/nodes/v2/state/ready/host8.yahoo.com",
new byte[0], Request.Method.PUT),