File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -27,10 +27,11 @@ import (
2727 "sync"
2828 "testing"
2929
30- "github.com/percona/mongodb_exporter/internal/tu"
3130 "github.com/prometheus/client_golang/prometheus/testutil"
3231 "github.com/sirupsen/logrus"
3332 "github.com/stretchr/testify/assert"
33+
34+ "github.com/percona/mongodb_exporter/internal/tu"
3435)
3536
3637// Use this for testing because labels like cluster ID are not constant in docker containers
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ package exporter
1717
1818import (
1919 "context"
20+
2021 "github.com/prometheus/client_golang/prometheus"
2122 "github.com/sirupsen/logrus"
2223 "go.mongodb.org/mongo-driver/bson"
Original file line number Diff line number Diff line change @@ -21,10 +21,11 @@ import (
2121 "testing"
2222 "time"
2323
24- "github.com/percona/mongodb_exporter/internal/tu"
2524 "github.com/prometheus/client_golang/prometheus/testutil"
2625 "github.com/sirupsen/logrus"
2726 "github.com/stretchr/testify/assert"
27+
28+ "github.com/percona/mongodb_exporter/internal/tu"
2829)
2930
3031func TestReplsetStatusCollector (t * testing.T ) {
You can’t perform that action at this time.
0 commit comments