Fix output 2
This commit is contained in:
parent
4a59304fde
commit
bb2b254965
@ -144,7 +144,7 @@ func (test *Test) Migrate(config Config, primary, replica *sql.DB) (err error) {
|
||||
}
|
||||
|
||||
if err = cmd.Run(); err != nil {
|
||||
if isExpectedFailureOutput(&stderr, test.ExpectedFailure) {
|
||||
if isExpectedFailureOutput(&output, test.ExpectedFailure) {
|
||||
return nil
|
||||
}
|
||||
log.Printf("[%s] test failed", test.Name)
|
||||
|
Loading…
Reference in New Issue
Block a user