More test fixes

This commit is contained in:
Zach Musgrave
2023-05-26 11:14:02 -07:00
parent 3820832239
commit c509181d05
+2 -2
View File
@@ -555,9 +555,10 @@ SQL
dolt config --local --add sqlserver.global.dolt_replicate_to_remote unknown
run dolt sql -q "create table t1 (a int primary key)"
[ "$status" -eq 1 ]
[ "$status" -eq 0 ]
[[ ! "$output" =~ "panic" ]] || false
[[ "$output" =~ "remote not found: 'unknown'" ]] || false
[[ "$output" =~ "replication disabled" ]] || false
}
@test "replication: quiet push to unknown remote warnings" {
@@ -566,7 +567,6 @@ SQL
dolt config --local --add sqlserver.global.dolt_replicate_to_remote unknown
run dolt sql -q "create table t1 (a int primary key)"
[ "$status" -eq 0 ]
[[ ! "$output" =~ "remote not found" ]] || false
dolt add .