summaryrefslogtreecommitdiff
path: root/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/github.com/smartystreets/goconvey/web/server/system/shell_integration_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/github.com/smartystreets/goconvey/web/server/system/shell_integration_test.go')
-rw-r--r--src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/github.com/smartystreets/goconvey/web/server/system/shell_integration_test.go33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/github.com/smartystreets/goconvey/web/server/system/shell_integration_test.go b/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/github.com/smartystreets/goconvey/web/server/system/shell_integration_test.go
deleted file mode 100644
index 88c696dbb81..00000000000
--- a/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/github.com/smartystreets/goconvey/web/server/system/shell_integration_test.go
+++ /dev/null
@@ -1,33 +0,0 @@
-package system
-
-import (
- "log"
- "path/filepath"
- "runtime"
- "strings"
-
- "testing"
-)
-
-func TestShellIntegration(t *testing.T) {
- if testing.Short() {
- t.Skip("Skipping potentially long-running integration test...")
- return
- }
-
- log.SetFlags(log.LstdFlags | log.Lshortfile | log.Lmicroseconds)
-
- _, filename, _, _ := runtime.Caller(0)
- directory := filepath.Join(filepath.Dir(filename), "..", "watch", "integration_testing", "sub")
- packageName := "github.com/smartystreets/goconvey/web/server/watch/integration_testing/sub"
-
- shell := NewShell("go", "", true, "5s")
- output, err := shell.GoTest(directory, packageName, []string{}, []string{"-short"})
-
- if !strings.Contains(output, "PASS\n") || !strings.Contains(output, "ok") {
- t.Errorf("Expected output that resembed tests passing but got this instead: [%s]", output)
- }
- if err != nil {
- t.Error("Test run resulted in the following error:", err)
- }
-}