Quantcast
Channel: Mattermost Discussion Forums - Latest posts
Viewing all articles
Browse latest Browse all 25778

Error then run "make test"

$
0
0

Awesome, thanks. It looks like the unit tests are taking longer than expected on your machine, making they're exceeding the timeout we set. If you go to line 162 of the Makefile, you can remove the timeout by removing -time.timeout 440s and changing it to

$(GO) test $(GOFLAGS) -run=$(TESTS) -test.v -covermode=count -coverprofile=capi.out ./api || exit 1

You may need to do the same thing for the next 4 lines if they time out as well.

Once those are all running, I can update the timeouts in the Makefile if you send me how long each set of tests takes. That should keep others from running into the same problem. The time taken for each set of tests is printed on lines that look like the following:

ok  	github.com/mattermost/platform/api	183.339s

Viewing all articles
Browse latest Browse all 25778

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>