From 3b361b69bad07239219bc4809a25943111319a08 Mon Sep 17 00:00:00 2001 From: Maciek Pytel Date: Tue, 10 May 2022 12:05:44 +0200 Subject: [PATCH] Fix unittest after kubernetes error message changed --- .../simulator/scheduler_based_predicates_checker_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster-autoscaler/simulator/scheduler_based_predicates_checker_test.go b/cluster-autoscaler/simulator/scheduler_based_predicates_checker_test.go index 6261eda1d38b..af48b8732ca6 100644 --- a/cluster-autoscaler/simulator/scheduler_based_predicates_checker_test.go +++ b/cluster-autoscaler/simulator/scheduler_based_predicates_checker_test.go @@ -151,6 +151,6 @@ func TestDebugInfo(t *testing.T) { predicateErr := predicateChecker.CheckPredicates(clusterSnapshot, p1, "n1") assert.NotNil(t, predicateErr) - assert.Equal(t, "node(s) had taint {SomeTaint: WhyNot?}, that the pod didn't tolerate", predicateErr.Message()) + assert.Equal(t, "node(s) had untolerated taint {SomeTaint: WhyNot?}", predicateErr.Message()) assert.Contains(t, predicateErr.VerboseMessage(), "RandomTaint") }