From 7f6eda566a15e2892857bb77ff0070bfa6430048 Mon Sep 17 00:00:00 2001 From: Aleksey Savchuk Date: Wed, 2 Oct 2024 11:16:04 +0300 Subject: [PATCH] [#274] client/status: Fix check in `TestNodeUnderMaintenance` test Signed-off-by: Aleksey Savchuk --- client/status/common_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/status/common_test.go b/client/status/common_test.go index 61125d9..5a7a2b7 100644 --- a/client/status/common_test.go +++ b/client/status/common_test.go @@ -114,7 +114,7 @@ func TestNodeUnderMaintenance(t *testing.T) { stV2 := st.ToStatusV2() - require.Empty(t, "", stV2.Message()) + require.Equal(t, "node is under maintenance", stV2.Message()) }) t.Run("non-empty to V2", func(t *testing.T) {