Skip to content

Commit

Permalink
log cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
fairclothjm committed Oct 17, 2024
1 parent 5518ff5 commit 6e5486a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion vault/resource_database_secret_backend_static_role_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,10 @@ CREATE ROLE "{{name}}" WITH
t.Log("pgxURL.Host", pgxURL.Host)
t.Log("pgxURL.Path", pgxURL.Path)
t.Log("pgxURL.Path", pgxURL.Path)
t.Cleanup(cleanup)
t.Cleanup(func() {
t.Log("===> running cleanup")
cleanup()
})

connURL := fmt.Sprintf("postgres://{{username}}:{{password}}@%s/postgres?sslmode=disable", pgxURL.Host)
// connURL := "postgresql://{{username}}:{{password}}@localhost:5432/postgres?sslmode=disable"
Expand Down

0 comments on commit 6e5486a

Please sign in to comment.