mirror of
https://github.com/prometheus-community/postgres_exporter
synced 2025-04-23 23:45:28 +00:00
Update the integration test.
This commit is contained in:
parent
9f1835bb2d
commit
98d26cb9c7
@ -30,7 +30,7 @@ func (s *IntegrationSuite) SetUpSuite(c *C) {
|
|||||||
dsn := os.Getenv("DATA_SOURCE_NAME")
|
dsn := os.Getenv("DATA_SOURCE_NAME")
|
||||||
c.Assert(dsn, Not(Equals), "")
|
c.Assert(dsn, Not(Equals), "")
|
||||||
|
|
||||||
exporter := NewExporter(dsn)
|
exporter := NewExporter(dsn, "")
|
||||||
c.Assert(exporter, NotNil)
|
c.Assert(exporter, NotNil)
|
||||||
// Assign the exporter to the suite
|
// Assign the exporter to the suite
|
||||||
s.e = exporter
|
s.e = exporter
|
||||||
|
Loading…
Reference in New Issue
Block a user