Enable -race for klient and klientctl tests.
Currently klient and klientctl tests run without -race flag. The flag should be added and eventual races fixed.
Reference:
- https://github.com/koding/koding/blob/master/scripts/test-kd.sh
- https://github.com/koding/koding/blob/master/scripts/test-klient.sh
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
To reproduce this, I created an empty json file at kites/config/ and ran go generate. But when I run go test ./... on klientctl I'm stuck with this message:
multiconfig: field 'Environment' is required
Any tips?
Hi @disq !
In order to compile klientctl, you must run ./configure script. It will create a JSON file that is used by go generate. Then, you can run either go generate inside kites/config directory or build.sh which will build the entire project.
https://github.com/koding/koding/blob/master/README.development.markdown#deploy-koding-locally