FYI. I increased the timeout and am now getting the connection errors below:
Running tests
/home/vagrant/go/bin/godep go test -run=. -test.v -test.timeout=3900s ./api || exit 1
godep: WARNING: Go version (go1.6) & $GO15VENDOREXPERIMENT= wants to enable the vendor experiment, but disabling because a Godep w orkspace (Godeps/_workspace) exists
=== RUN TestGetLogs
[2016/04/25 23:32:35 UTC] [INFO] Loaded system translations for 'en' from '/home/vagrant/go/src/github.com/mattermost/platform/i18 n/en.json'
[2016/04/25 23:32:35 UTC] [CRIT] Failed to ping db err:dial tcp 127.0.0.1:3306: getsockopt: connection refused
--- FAIL: TestGetLogs (1.10s)
panic: Failed to open sql connection dial tcp 127.0.0.1:3306: getsockopt: connection refused [recovered]
panic: Failed to open sql connection dial tcp 127.0.0.1:3306: getsockopt: connection refused
goroutine 7 [running]:
panic(0xbecc60, 0xc8204d6000)
/usr/local/go/src/runtime/panic.go:481 +0x3e6
testing.tRunner.func1(0xc8200135f0)
/usr/local/go/src/testing/testing.go:467 +0x192
panic(0xbecc60, 0xc8204d6000)
/usr/local/go/src/runtime/panic.go:443 +0x4e9
github.com/mattermost/platform/store.setupConnection(0xe13b48, 0x6, 0xc8200e9db8, 0x5, 0xc820019360, 0x48, 0xa, 0xa, 0xc82002c800, 0xc82052ad80)
/home/vagrant/go/src/github.com/mattermost/platform/store/sql_store.go:218 +0x894
github.com/mattermost/platform/store.initConnection(0x40a701)
/home/vagrant/go/src/github.com/mattermost/platform/store/sql_store.go:63 +0x11b
github.com/mattermost/platform/store.NewSqlStore(0x0, 0x0)
/home/vagrant/go/src/github.com/mattermost/platform/store/sql_store.go:85 +0x49
github.com/mattermost/platform/api.NewServer()
/home/vagrant/go/src/github.com/mattermost/platform/api/server.go:36 +0xe8
github.com/mattermost/platform/api.Setup(0x0)
/home/vagrant/go/src/github.com/mattermost/platform/api/apitestlib.go:56 +0xac
github.com/mattermost/platform/api.TestGetLogs(0xc8200135f0)
/home/vagrant/go/src/github.com/mattermost/platform/api/admin_test.go:15 +0x2c
testing.tRunner(0xc8200135f0, 0x126e960)
/usr/local/go/src/testing/testing.go:473 +0x98
created by testing.RunTests
/usr/local/go/src/testing/testing.go:582 +0x892
exit status 2
FAIL github.com/mattermost/platform/api 1.114s
godep: go exit status 1
make: *** [test] Error 1