Skip to content

Commit

Permalink
fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Fs02 committed Oct 27, 2021
1 parent 5081827 commit c418dcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mysql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func AdapterSpecs(t *testing.T, repo rel.Repository) {
}

func TestAdapter_specs(t *testing.T) {
if os.Getenv("TEST_PRIMARY_REPLICA") == "true" {
if os.Getenv("TEST_PRIMARY_REPLICA") != "true" {
t.Log("Skipping single node specs")
return
}
Expand All @@ -105,7 +105,7 @@ func TestAdapter_specs(t *testing.T) {
}

func TestAdapter_PrimaryReplica_specs(t *testing.T) {
if os.Getenv("TEST_PRIMARY_REPLICA") != "true" {
if os.Getenv("TEST_PRIMARY_REPLICA") == "true" {
t.Log("Skipping primary replica specs")
return
}
Expand Down

0 comments on commit c418dcc

Please sign in to comment.