Skip to content

Commit

Permalink
PMM-11180 revert host related changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
BupycHuk committed Oct 17, 2024
1 parent 97907f2 commit 987b7c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agent/utils/tests/mongodb.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ package tests
import (
"context"
"fmt"
"github.com/percona/pmm/version"
"os"
"path/filepath"
"testing"
Expand All @@ -28,6 +27,7 @@ import (

"github.com/percona/pmm/agent/utils/mongo_fix"
agentv1 "github.com/percona/pmm/api/agent/v1"
"github.com/percona/pmm/version"
)

// GetTestMongoDBDSN returns DNS for MongoDB test database.
Expand All @@ -45,7 +45,7 @@ func GetTestMongoDBReplicatedDSN(tb testing.TB) string {
if testing.Short() {
tb.Skip("-short flag is passed, skipping test with real database.")
}
return "mongodb://localhost:27020,127.0.0.1:27021/admin?replicaSet=rs0"
return "mongodb://127.0.0.1:27020,127.0.0.1:27021/admin?replicaSet=rs0"
}

// GetTestMongoDBWithSSLDSN returns DNS template and files for MongoDB test database with ssl.
Expand Down

0 comments on commit 987b7c4

Please sign in to comment.