This is an automated email from the ASF dual-hosted git repository.
brandonwilliams pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-dtest.git
The following commit(s) were added to refs/heads/trunk by this push:
new 2f8b0d59 Add COPY TO ... STDOUT test
2f8b0d59 is described below
commit 2f8b0d5949bea63ad642ea84cfae716fb3dbce59
Author: Brandon Williams <[email protected]>
AuthorDate: Tue Mar 21 17:42:54 2023 -0500
Add COPY TO ... STDOUT test
Patch by brandonwilliams; reviewed by adelapena for CASSANDRA-18353
---
cqlsh_tests/test_cqlsh.py | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/cqlsh_tests/test_cqlsh.py b/cqlsh_tests/test_cqlsh.py
index 4f4d1b75..1f5c3767 100644
--- a/cqlsh_tests/test_cqlsh.py
+++ b/cqlsh_tests/test_cqlsh.py
@@ -2564,6 +2564,13 @@ class TestCqlshSmoke(Tester, CqlshMixin):
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()
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]