From 0c6a2c332895b02ab904a2f66f6b6feb4c2ee22a Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 29 Jan 2020 14:19:00 +0100 Subject: dashboard/app: disable tests on Travis This is very frustrating. Testing with 'go test' does not really work. All tests fail with: util_test.go:51: Could not find dev_appserver.py: exec: "dev_appserver.py": executable file not found in $PATH And I can't even now find a way to download this dev_appserver.py thing. Update #1461 --- dashboard/app/util_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dashboard/app/util_test.go b/dashboard/app/util_test.go index 46dcc1f45..dcae8ace6 100644 --- a/dashboard/app/util_test.go +++ b/dashboard/app/util_test.go @@ -12,6 +12,7 @@ import ( "io/ioutil" "net/http" "net/http/httptest" + "os" "path/filepath" "reflect" "runtime" @@ -41,6 +42,9 @@ type Ctx struct { } func NewCtx(t *testing.T) *Ctx { + if os.Getenv("TRAVIS") != "" { + t.Skip("skipping test on Travis (no dev_appserver.py)") + } t.Parallel() inst, err := aetest.NewInstance(&aetest.Options{ // Without this option datastore queries return data with slight delay, -- cgit mrf-deployment