Files
scylladb/test
Avi Kivity d8121961fa Merge 'cql-pytest: add nodetool flush feature and use it in a test' from Nadav Har'El
The first patch adds a nodetool-like capability to the cql-pytest framework.
It is *not* meant to be used to test nodetool itself, but rather to give CQL
tests the ability to use nodetool operations - currently only one operation -
"nodetool flush".

We try to use Scylla's REST API, if possible, and only fall back to using an
external "nodetool" command when the REST API is not available - i.e., when
testing Cassandra. The benefit of using the REST API is that we don't need
to run the jmx server to test Scylla.

The second patch is an example of using the new nodetool flush feature
in a test that needs to flush data to reproduce a bug (which has already
been fixed).

Closes #8622

* github.com:scylladb/scylla:
  cql-pytest: reproducer for issue #8138
  cql-pytest: add nodetool flush feature
2021-05-19 14:40:18 +03:00
..
2021-05-11 18:39:10 +03:00
2021-05-11 18:39:10 +03:00