Home / Companies / DataStax / Blog / Post Details
Content Deep Dive

Cassandra Unit Testing with Byteman

Blog post from DataStax

Post Details
Company
Date Published
Author
Sam Tunnicliffe
Word Count
667
Company Posts That Month
4
Language
English
Hacker News Points
-
Post removed?
No
Summary

The Apache Cassandra project has recently begun exploring Byteman, an open-source tool that enables additional Java code to be injected into a running JVM. This tool can increase observability and facilitate fault injection testing in unit tests by injecting code at specific points in the existing code. Byteman is useful for verifying behaviors without easily observable side effects and simulating pathological conditions, such as disk filling up or network partitioning. The tool has been integrated with JUnit test runner to support integration with test fixtures through annotations. In a recent Cassandra unit test, Byteman was used to assert that the HintsBufferPool provides backpressure to its callers by drawing write buffers from a BlockingQueue.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Observability 4 9 5 2 -50%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.