Skip to content

Commit d07a669

Browse files
authored
Merge pull request #154 from dzanter/main
fix: addnode bench
2 parents e68572b + 298bd14 commit d07a669

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

swat/tests/cas/test_builtins.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,11 @@ def test_addnode(self):
151151
self.assertIn(r.status, ['Error parsing action parameters.',
152152
"Authorization",
153153
"Nodes cannot be added when the server "
154-
+ "is running with in SMP mode."])
154+
+ "is running with in SMP mode.",
155+
"The addNode action is not supported "
156+
+ "when executing in Kubernetes. "
157+
+ "To increase workers, adjust the CAS "
158+
+ "Operator workers value."])
155159

156160
r = self.s.addnode(salt='controller', node=['pepper'])
157161
self.assertContainsMessage(r, "ERROR: The action stopped due to errors.")

0 commit comments

Comments
 (0)