diff --git a/tests/integration/targets/test_mysql_replication/tasks/mysql_replication_channel.yml b/tests/integration/targets/test_mysql_replication/tasks/mysql_replication_channel.yml index 3102675..b41f6b9 100644 --- a/tests/integration/targets/test_mysql_replication/tasks/mysql_replication_channel.yml +++ b/tests/integration/targets/test_mysql_replication/tasks/mysql_replication_channel.yml @@ -48,7 +48,7 @@ - assert: that: - result is changed - - result.queries == ["START SLAVE FOR CHANNEL '{{ test_channel }}'"] + - result.queries == ["START SLAVE FOR CHANNEL '{{ test_channel }}'"] or result.queries == ["START REPLICA FOR CHANNEL '{{ test_channel }}'"] # Test getslave mode: - name: Get standby status with channel @@ -82,7 +82,7 @@ - assert: that: - result is changed - - result.queries == ["STOP SLAVE FOR CHANNEL '{{ test_channel }}'"] + - result.queries == ["STOP SLAVE FOR CHANNEL '{{ test_channel }}'"] or result.queries == ["STOP REPLICA FOR CHANNEL '{{ test_channel }}'"] # Test reset - name: Reset slave with channel @@ -96,7 +96,7 @@ - assert: that: - result is changed - - result.queries == ["RESET SLAVE FOR CHANNEL '{{ test_channel }}'"] + - result.queries == ["RESET SLAVE FOR CHANNEL '{{ test_channel }}'"] or result.queries == ["RESET REPLICA FOR CHANNEL '{{ test_channel }}'"] # Test reset all - name: Reset slave all with channel @@ -110,4 +110,4 @@ - assert: that: - result is changed - - result.queries == ["RESET SLAVE ALL FOR CHANNEL '{{ test_channel }}'"] + - result.queries == ["RESET SLAVE ALL FOR CHANNEL '{{ test_channel }}'"] or result.queries == ["RESET REPLICA ALL FOR CHANNEL '{{ test_channel }}'"] diff --git a/tests/integration/targets/test_mysql_replication/tasks/mysql_replication_initial.yml b/tests/integration/targets/test_mysql_replication/tasks/mysql_replication_initial.yml index eb1b51a..8f548fd 100644 --- a/tests/integration/targets/test_mysql_replication/tasks/mysql_replication_initial.yml +++ b/tests/integration/targets/test_mysql_replication/tasks/mysql_replication_initial.yml @@ -120,7 +120,7 @@ - assert: that: - result is changed - - result.queries == ["START SLAVE"] + - result.queries == ["START SLAVE"] or result.queries == ["START REPLICA"] # Test getslave mode: - name: Get standby status @@ -192,7 +192,7 @@ - assert: that: - result is changed - - result.queries == ["STOP SLAVE"] + - result.queries == ["STOP SLAVE"] or result.queries == ["STOP REPLICA"] # Test stopslave mode: - name: Stop slave that is no longer running