Skip to content

Commit

Permalink
Add COPY TO ... STDOUT test
Browse files Browse the repository at this point in the history
Patch by brandonwilliams; reviewed by adelapena for CASSANDRA-18353
  • Loading branch information
driftx committed Mar 22, 2023
1 parent 5f72506 commit 2f8b0d5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cqlsh_tests/test_cqlsh.py
Original file line number Diff line number Diff line change
Expand Up @@ -2564,6 +2564,13 @@ def test_batch(self):
assert_all(self.session, 'SELECT key FROM ks.test',
[['eggs'], ['spam'], ['sausage']])

def test_copy_stdout(self):
"""
Smoke test COPY ... TO STDOUT
CASSANDRA-12497, CASSANDRA-18353
"""
self.node1.run_cqlsh("COPY system.local(cluster_name) TO STDOUT")

def test_create_keyspace(self):
assert 'created' not in self.get_keyspace_names()

Expand Down

0 comments on commit 2f8b0d5

Please sign in to comment.