Skip to content

Commit

Permalink
Use postgres default configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosnils committed Jul 6, 2015
1 parent 6355228 commit 4471e2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,3 @@ postgres:
image: postgres
ports:
- "5432:5432"
environment:
POSTGRES_USER: ubuntu
6 changes: 3 additions & 3 deletions plugins/postgresql/postgresql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ func TestPostgresqlGeneratesMetrics(t *testing.T) {
p := &Postgresql{
Servers: []*Server{
{
Address: "host=localhost user=ubuntu sslmode=disable",
Address: "host=localhost user=postgres sslmode=disable",
Databases: []string{"postgres"},
},
},
Expand Down Expand Up @@ -57,7 +57,7 @@ func TestPostgresqlTagsMetricsWithDatabaseName(t *testing.T) {
p := &Postgresql{
Servers: []*Server{
{
Address: "host=localhost user=ubuntu sslmode=disable",
Address: "host=localhost user=postgres sslmode=disable",
Databases: []string{"postgres"},
},
},
Expand All @@ -78,7 +78,7 @@ func TestPostgresqlDefaultsToAllDatabases(t *testing.T) {
p := &Postgresql{
Servers: []*Server{
{
Address: "host=localhost user=ubuntu sslmode=disable",
Address: "host=localhost user=postgres sslmode=disable",
},
},
}
Expand Down

0 comments on commit 4471e2b

Please sign in to comment.