Skip to content

Commit

Permalink
[-] fix TestNewPostgresMetricReaderWriter()
Browse files Browse the repository at this point in the history
  • Loading branch information
pashagolub committed Aug 23, 2024
1 parent d1554e0 commit 8f8cf17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metrics/postgres_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func TestNewPostgresMetricReaderWriter(t *testing.T) {
t.Run("ConnectionError", func(*testing.T) {
pgrw, err := metrics.NewPostgresMetricReaderWriter(ctx, "postgres://user:pass@foohost:5432/db1")
a.Error(err)
a.NotNil(pgrw)
a.Nil(pgrw)
})
t.Run("InvalidConnStr", func(*testing.T) {
pgrw, err := metrics.NewPostgresMetricReaderWriter(ctx, "invalid_connstr")
Expand Down

0 comments on commit 8f8cf17

Please sign in to comment.