1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-04-18 21:44:02 +03:00

fix(cmapi tests): MCOL-5133 test mode set without nodes now returns adequate message

This commit is contained in:
mariadb-AlanMologorsky 2025-03-20 15:14:40 +03:00 committed by Leonid Fedorov
parent 7c751ea53e
commit a60b278ee6

View File

@ -147,7 +147,7 @@ class ClusterModesetTestCase(BaseClusterTestCase):
)
error = resp.json()['error']
self.assertEqual(resp.status_code, 422)
self.assertEqual(error, 'No master found in the cluster.')
self.assertEqual(error, 'There are no nodes in the cluster.')
def test_add_node_and_set_readonly(self):
payload = {'node': socket.gethostname()}