Skip to content

Commit

Permalink
oops uncommenting
Browse files Browse the repository at this point in the history
  • Loading branch information
heavycrystal committed Dec 28, 2023
1 parent 8a304af commit 93ae0f5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions flow/e2e/snowflake/peer_flow_sf_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,21 @@ type PeerFlowE2ETestSuiteSF struct {

func TestPeerFlowE2ETestSuiteSF(t *testing.T) {
e2eshared.GotSuite(t, SetupSuite, func(s PeerFlowE2ETestSuiteSF) {
// err := e2e.TearDownPostgres(s.pool, s.pgSuffix)
// if err != nil {
// slog.Error("failed to tear down Postgres", slog.Any("error", err))
// s.FailNow()
// }
err := e2e.TearDownPostgres(s.pool, s.pgSuffix)
if err != nil {
slog.Error("failed to tear down Postgres", slog.Any("error", err))
s.FailNow()
}

if s.sfHelper != nil {
err := s.sfHelper.Cleanup()
err = s.sfHelper.Cleanup()
if err != nil {
slog.Error("failed to tear down Snowflake", slog.Any("error", err))
s.FailNow()
}
}

err := s.connector.Close()
err = s.connector.Close()
if err != nil {
slog.Error("failed to close Snowflake connector", slog.Any("error", err))
s.FailNow()
Expand Down

0 comments on commit 93ae0f5

Please sign in to comment.