summaryrefslogtreecommitdiff
path: root/src/mongo/gotools/src/github.com/mongodb/mongo-tools/mongorestore/filepath_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/gotools/src/github.com/mongodb/mongo-tools/mongorestore/filepath_test.go')
-rw-r--r--src/mongo/gotools/src/github.com/mongodb/mongo-tools/mongorestore/filepath_test.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mongo/gotools/src/github.com/mongodb/mongo-tools/mongorestore/filepath_test.go b/src/mongo/gotools/src/github.com/mongodb/mongo-tools/mongorestore/filepath_test.go
index ff666dc263b..88248e8f72b 100644
--- a/src/mongo/gotools/src/github.com/mongodb/mongo-tools/mongorestore/filepath_test.go
+++ b/src/mongo/gotools/src/github.com/mongodb/mongo-tools/mongorestore/filepath_test.go
@@ -62,7 +62,7 @@ func TestCreateAllIntents(t *testing.T) {
var mr *MongoRestore
var buff bytes.Buffer
- testtype.VerifyTestType(t, testtype.UnitTestType)
+ testtype.SkipUnlessTestType(t, testtype.UnitTestType)
Convey("With a test MongoRestore", t, func() {
mr = newMongoRestore()
@@ -126,7 +126,7 @@ func TestCreateIntentsForDB(t *testing.T) {
var mr *MongoRestore
var buff bytes.Buffer
- testtype.VerifyTestType(t, testtype.UnitTestType)
+ testtype.SkipUnlessTestType(t, testtype.UnitTestType)
Convey("With a test MongoRestore", t, func() {
mr = newMongoRestore()
@@ -174,6 +174,7 @@ func TestCreateIntentsForDB(t *testing.T) {
}
func TestCreateIntentsRenamed(t *testing.T) {
+ testtype.SkipUnlessTestType(t, testtype.UnitTestType)
Convey("With a test MongoRestore", t, func() {
mr := newMongoRestore()
mr.renamer, _ = ns.NewRenamer([]string{"db1.*"}, []string{"db4.test.*"})
@@ -209,7 +210,7 @@ func TestCreateIntentsRenamed(t *testing.T) {
func TestHandlingBSON(t *testing.T) {
var mr *MongoRestore
- testtype.VerifyTestType(t, testtype.UnitTestType)
+ testtype.SkipUnlessTestType(t, testtype.UnitTestType)
Convey("With a test MongoRestore", t, func() {
mr = newMongoRestore()
@@ -249,7 +250,7 @@ func TestCreateIntentsForCollection(t *testing.T) {
var mr *MongoRestore
var buff bytes.Buffer
- testtype.VerifyTestType(t, testtype.UnitTestType)
+ testtype.SkipUnlessTestType(t, testtype.UnitTestType)
Convey("With a test MongoRestore", t, func() {
buff = bytes.Buffer{}