Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
diogonicoleti committed May 11, 2019
1 parent 608d31b commit 2c6719e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gauges/replication.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func (g *Gauges) StreamingWALs() prometheus.Gauge {
)
}

// ReplicationDelay returns a prometheus gauge for the database replication
// ReplicationDelayInSeconds returns a prometheus gauge for the database replication
// lag in seconds
func (g *Gauges) ReplicationDelayInSeconds() prometheus.Gauge {
return g.new(
Expand Down
2 changes: 1 addition & 1 deletion gauges/replication_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func TestReplicationStatus(t *testing.T) {
assertNoErrs(t, gauges)
}

func TestReplicationDelay(t *testing.T) {
func TestReplicationDelayInSeconds(t *testing.T) {
var assert = assert.New(t)
_, gauges, close := prepare(t)
defer close()
Expand Down

0 comments on commit 2c6719e

Please sign in to comment.