diff options
author | Tor Brede Vekterli <vekterli@vespa.ai> | 2024-01-29 12:56:15 +0100 |
---|---|---|
committer | Tor Brede Vekterli <vekterli@vespa.ai> | 2024-01-29 12:56:15 +0100 |
commit | e9a8055e83560ba83712419ff3bc6b8a659f0266 (patch) | |
tree | 21dfa9fbc55633ff71c1a0bde2f12385d0cfbb55 /clustercontroller-core/src/test/java/com | |
parent | ac1f180cb7524da83bb4fbd18933b73c087cf4b6 (diff) |
Explicitly report docs, tombstones and buckets in disallow-message
Diffstat (limited to 'clustercontroller-core/src/test/java/com')
-rw-r--r-- | clustercontroller-core/src/test/java/com/yahoo/vespa/clustercontroller/core/NodeStateChangeCheckerTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clustercontroller-core/src/test/java/com/yahoo/vespa/clustercontroller/core/NodeStateChangeCheckerTest.java b/clustercontroller-core/src/test/java/com/yahoo/vespa/clustercontroller/core/NodeStateChangeCheckerTest.java index 7baa2bae03b..c1acc19ae9e 100644 --- a/clustercontroller-core/src/test/java/com/yahoo/vespa/clustercontroller/core/NodeStateChangeCheckerTest.java +++ b/clustercontroller-core/src/test/java/com/yahoo/vespa/clustercontroller/core/NodeStateChangeCheckerTest.java @@ -737,11 +737,11 @@ public class NodeStateChangeCheckerTest { // Non-zero bucket count, and no entry/doc count metrics new MetricsAndMessage(new HostInfoMetrics(1, null, null), "The storage node manages 1 buckets"), // Non-zero bucket count and non-zero entries (note that we prefer reporting the entry count over the bucket count) - new MetricsAndMessage(new HostInfoMetrics(1, 2, 1), "The storage node stores 2 document entries"), + new MetricsAndMessage(new HostInfoMetrics(1, 2, 1), "The storage node stores 1 documents and 1 tombstones across 1 buckets"), // These are cases that should not normally happen, but we test them nevertheless: // Bucket count should never be zero if the entry count is > 0 - new MetricsAndMessage(new HostInfoMetrics(0, 2, 1), "The storage node stores 2 document entries"), + new MetricsAndMessage(new HostInfoMetrics(0, 2, 1), "The storage node stores 1 documents and 1 tombstones across 0 buckets"), // Entry count should never be zero if the document count is > 0 new MetricsAndMessage(new HostInfoMetrics(0, 0, 2), "The storage node reports 0 entries, but 2 documents"), // Document count should always be present alongside entry count |