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

Commit 2c6719e

Browse files
committed
fix tests
1 parent 608d31b commit 2c6719e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: gauges/replication.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func (g *Gauges) StreamingWALs() prometheus.Gauge {
5151
)
5252
}
5353

54-
// ReplicationDelay returns a prometheus gauge for the database replication
54+
// ReplicationDelayInSeconds returns a prometheus gauge for the database replication
5555
// lag in seconds
5656
func (g *Gauges) ReplicationDelayInSeconds() prometheus.Gauge {
5757
return g.new(

Diff for: gauges/replication_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ func TestReplicationStatus(t *testing.T) {
1616
assertNoErrs(t, gauges)
1717
}
1818

19-
func TestReplicationDelay(t *testing.T) {
19+
func TestReplicationDelayInSeconds(t *testing.T) {
2020
var assert = assert.New(t)
2121
_, gauges, close := prepare(t)
2222
defer close()

0 commit comments

Comments
 (0)