diff options
Diffstat (limited to 'src/mongo/gotools/src/github.com/mongodb/mongo-tools/common/util/mongo_test.go')
-rw-r--r-- | src/mongo/gotools/src/github.com/mongodb/mongo-tools/common/util/mongo_test.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/gotools/src/github.com/mongodb/mongo-tools/common/util/mongo_test.go b/src/mongo/gotools/src/github.com/mongodb/mongo-tools/common/util/mongo_test.go index 15ced783966..0bff112d8e5 100644 --- a/src/mongo/gotools/src/github.com/mongodb/mongo-tools/common/util/mongo_test.go +++ b/src/mongo/gotools/src/github.com/mongodb/mongo-tools/common/util/mongo_test.go @@ -15,7 +15,7 @@ import ( func TestParseConnectionString(t *testing.T) { - testtype.VerifyTestType(t, testtype.UnitTestType) + testtype.SkipUnlessTestType(t, testtype.UnitTestType) Convey("When extracting the replica set and hosts from a connection"+ " url", t, func() { @@ -47,7 +47,7 @@ func TestParseConnectionString(t *testing.T) { func TestCreateConnectionAddrs(t *testing.T) { - testtype.VerifyTestType(t, testtype.UnitTestType) + testtype.SkipUnlessTestType(t, testtype.UnitTestType) Convey("When creating the slice of connection addresses", t, func() { @@ -73,6 +73,8 @@ func TestCreateConnectionAddrs(t *testing.T) { func TestInvalidNames(t *testing.T) { + testtype.SkipUnlessTestType(t, testtype.UnitTestType) + Convey("Checking some invalid collection names, ", t, func() { Convey("test.col$ is invalid", func() { So(ValidateDBName("test"), ShouldBeNil) |