confluentinc / ducktape

System integration and performance tests
12 stars 93 forks source link

Fail test option when node utilization isn't optimal #279

Closed imcdo closed 3 years ago

imcdo commented 3 years ago

This PR allows for users to specify that improper node utilization causes a failure. Currently if you define a cluster that requests more nodes than a test actually uses ducktape logs a warning specifying the number of nodes miss-match. This PR allows you to specify the --fail-bad-cluster-utilization when running tests, which fails the test if the node utilization is miss matched.