Randomized testing is a way for programmers to automate the discovery of interesting test cases that would be difficult or overly time consuming to come up with by hand. CockroachDB uses randomized testing in many parts of its code. I…
With AWS CloudFormation and Kubernetes, developers can automate the setup of multi-node test cluster deployment for the latest stable and alpha CockroachDB features.
How do you ensure that the log messages contain enough information to be useful without encumbering the development of new code?
Some months ago I started work on a way to test random, valid SQL in CockroachDB. This is important to expose unintended behavior in our server.
Writing good tests is tricky when the system has a lot of moving parts. In this post we will go over how to outsmart Go dependencies in testing.