tests: Can't setup replication slave without master host

This commit is contained in:
Sameer Naik
2015-11-04 20:36:39 +05:30
parent 50a5090e3c
commit f6e521fec7

View File

@@ -194,6 +194,13 @@ cleanup_environment
[[ "$output" =~ "you need to provide the MARIADB_REPLICATION_USER" ]]
}
@test "Can't setup replication slave without master host" {
# create replication slave without specifying MARIADB_MASTER_HOST
run create_container slave0 \
-e MARIADB_REPLICATION_MODE=slave
[[ "$output" =~ "you need to provide the MARIADB_MASTER_HOST" ]]
}
@test "Can't setup replication slave without master user" {
# create replication slave without specifying MARIADB_MASTER_USER
run create_container slave0 \