Closed janpieper closed 7 years ago
@janpieper Seems like there was some change related to the x-font-woff
mime type in go 1.8.3 (i believe). I was using go 1.8.1 until today and tests were all passing. I pushed a change to master that fixes the problem.
@sosedoff No, this isn't the problem. I'm not complaining about a failing test. The whole testsuite is crashing (Error 2) without any changes to the code. The x-font-woff
test was failing in both cases.
FAIL github.com/sosedoff/pgweb/pkg/api 0.009s
ok github.com/sosedoff/pgweb/pkg/bookmarks 0.005s coverage: 97.4% of statements
? github.com/sosedoff/pgweb/pkg/cli [no test files]
ok github.com/sosedoff/pgweb/pkg/client 6.641s coverage: 50.6% of statements
ok github.com/sosedoff/pgweb/pkg/command 0.005s coverage: 64.7% of statements
ok github.com/sosedoff/pgweb/pkg/connection 0.004s coverage: 90.0% of statements
? github.com/sosedoff/pgweb/pkg/data [no test files]
? github.com/sosedoff/pgweb/pkg/history [no test files]
? github.com/sosedoff/pgweb/pkg/shared [no test files]
? github.com/sosedoff/pgweb/pkg/statements [no test files]
? github.com/sosedoff/pgweb/pkg/util [no test files]
Makefile:28: recipe for target 'test' failed
make: *** [test] Error 1
FAIL github.com/janpieper/pgweb/pkg/api 0.009s
ok github.com/janpieper/pgweb/pkg/bookmarks 0.005s coverage: 97.4% of statements
Makefile:28: recipe for target 'test' failed
make: *** [test] Error 2
I've added a small feature to pgweb and i would like to run all tests before creating a pull request, but I can't get the tests running. Even without any changes to the tests are failing... Would be cool if someone could help.
Official sources
My fork
Go Env