summaryrefslogtreecommitdiffstats
path: root/container-core/src/test/java/com/yahoo/container
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2020-11-16 23:03:38 +0100
committerJon Bratseth <bratseth@gmail.com>2020-11-16 23:03:38 +0100
commit10ee0e734ba6cc9fce0f1555cf83ecf8cdfcb094 (patch)
treef99bafddb57df8b78d48f4b123643a2dfd14521e /container-core/src/test/java/com/yahoo/container
parentadfad6e225af1392db417ef4fa6ef8c5f97f2b62 (diff)
Use a name that works better for content nodes
Diffstat (limited to 'container-core/src/test/java/com/yahoo/container')
-rw-r--r--container-core/src/test/java/com/yahoo/container/handler/VipStatusTestCase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/container-core/src/test/java/com/yahoo/container/handler/VipStatusTestCase.java b/container-core/src/test/java/com/yahoo/container/handler/VipStatusTestCase.java
index 640222e8351..bce9fe318d5 100644
--- a/container-core/src/test/java/com/yahoo/container/handler/VipStatusTestCase.java
+++ b/container-core/src/test/java/com/yahoo/container/handler/VipStatusTestCase.java
@@ -197,7 +197,7 @@ public class VipStatusTestCase {
@Override
public void set(String key, Number val, Context ctx) {
- if ( ! key.equals("in_rotation"))
+ if ( ! key.equals("in_service"))
throw new RuntimeException("Metric.set called with unexpected key " + key);
inRotation = val.intValue();
}