Skip to content

Commit

Permalink
pgsql: Fix pgsql test
Browse files Browse the repository at this point in the history
  • Loading branch information
KeyboardNerd committed Mar 6, 2019
1 parent f6759b2 commit ed9c6ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion database/pgsql/pgsql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,11 @@ func TestMain(m *testing.M) {
withFixtureName = fName
withoutFixtureName = nfName

m.Run()
rc := m.Run()

dropTemplateDatabase(fURL, fName)
dropTemplateDatabase(nfURL, nfName)
os.Exit(rc)
}

func openCopiedDatabase(testConfig database.RegistrableComponentConfig, fixture bool) (database.Datastore, error) {
Expand Down

0 comments on commit ed9c6ba

Please sign in to comment.