koding icon indicating copy to clipboard operation
koding copied to clipboard

Enable -race for klient and klientctl tests.

Open rjeczalik opened this issue 8 years ago • 3 comments

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.

rjeczalik avatar Sep 27 '16 18:09 rjeczalik

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?

disq avatar Jun 08 '17 21:06 disq

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.

ppknap avatar Jun 09 '17 03:06 ppknap

https://github.com/koding/koding/blob/master/README.development.markdown#deploy-koding-locally

rjeczalik avatar Jun 09 '17 05:06 rjeczalik