Skip to content

Commit

Permalink
drop local test
Browse files Browse the repository at this point in the history
  • Loading branch information
umputun committed Feb 6, 2022
1 parent d2f358b commit a6e41b3
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions app/status/external/mongo_provider_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package external

import (
"encoding/json"
"net/url"
"testing"
"time"
Expand Down Expand Up @@ -33,15 +32,6 @@ func TestMongoProvider_Status(t *testing.T) {
_, err := p.Status(Request{Name: "test", URL: "mongodb://localhost:27000"})
require.Error(t, err)
}

{
p := MongoProvider{TimeOut: time.Second}
resp, err := p.Status(Request{Name: "test", URL: "mongodb://10.0.2.133:27017/?oplogMaxDelta=1m"})
require.NoError(t, err)
r, err := json.Marshal(resp.Body)
require.NoError(t, err)
t.Logf("%s", r)
}
}

func TestMongoProvider_parseReplStatus(t *testing.T) {
Expand Down

0 comments on commit a6e41b3

Please sign in to comment.