News for hackers. Stuff that matters.
Re:Outsmarting Go Dependencies in Testing Code by domsj on Friday June 17, 2016 @02:15AM (#11920975)
I don't get it: why would they need/want to set up a server to test the sql module in the first place? The behaviour of the sql module doesn't depend on server, so logically I would assume the tests shouldn't either... And if some tests really need a server, then they are not testing the sql layer anymore, and shouldn't need access to internals of the sql module.
Re:Outsmarting Go Dependencies in Testing Code by radub on Friday June 17, 2016 @07:43AM (#11922024)
The sql module needs other aspects of the server set up to function (e.g. the KV layer). You are free to browse the code at https://github.com/cockroachdb/cockroach if you want a more in-depth look.