tests: Can't setup replication slave without master host
This commit is contained in:
parent
50a5090e3c
commit
f6e521fec7
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Reference in New Issue