Skip to content

Commit

Permalink
Fix unit tests neglected in prior commit
Browse files Browse the repository at this point in the history
  • Loading branch information
kimago authored and ohkyle committed May 6, 2021
1 parent ece0cd9 commit 7bd432c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tasks/migrate/backup_restore_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ var _ = Describe("Backup / Restore API", func() {
"--skip-events",
"--set-gtid-purged=off",
"--skip-triggers",
"--no-tablespaces",
"--databases",
"foo",
"bar",
Expand Down Expand Up @@ -99,6 +100,7 @@ var _ = Describe("Backup / Restore API", func() {
"--skip-events",
"--set-gtid-purged=off",
"--skip-triggers",
"--no-tablespaces",
"--databases",
"foo",
"bar",
Expand Down Expand Up @@ -127,6 +129,7 @@ var _ = Describe("Backup / Restore API", func() {
"--skip-events",
"--set-gtid-purged=off",
"--skip-triggers",
"--no-tablespaces",
"--databases",
"foo",
"bar",
Expand Down Expand Up @@ -164,6 +167,7 @@ var _ = Describe("Backup / Restore API", func() {
"--skip-events",
"--set-gtid-purged=off",
"--skip-triggers",
"--no-tablespaces",
"--ignore-table=foo.view1",
"--ignore-table=bar.view1",
"--ignore-table=baz.view1",
Expand Down Expand Up @@ -196,6 +200,7 @@ var _ = Describe("Backup / Restore API", func() {
"--skip-events",
"--set-gtid-purged=off",
"--skip-triggers",
"--no-tablespaces",
"one-database",
}))
Expect(mysqldump.Env).To(ContainElement("MYSQL_PWD=some-password"))
Expand Down Expand Up @@ -223,6 +228,7 @@ var _ = Describe("Backup / Restore API", func() {
"--skip-events",
"--set-gtid-purged=off",
"--skip-triggers",
"--no-tablespaces",
"one-database",
}))
Expect(mysqldump.Env).To(ContainElement("MYSQL_PWD=some-password"))
Expand All @@ -248,6 +254,7 @@ var _ = Describe("Backup / Restore API", func() {
"--skip-events",
"--set-gtid-purged=off",
"--skip-triggers",
"--no-tablespaces",
"one-database",
}))
Expect(mysqldump.Env).To(ContainElement("MYSQL_PWD=some-password"))
Expand Down

0 comments on commit 7bd432c

Please sign in to comment.