You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by ed...@apache.org on 2022/02/28 20:21:07 UTC
[cassandra-dtest] branch trunk updated: Fix test_sstableloader_empty_stream for trunk post CASSANDRA-16349 patch by Ekaterina Dimitrova; reviewed by Brandon Williams and Marcus Eriksson (CASSANDRA-16349)
This is an automated email from the ASF dual-hosted git repository.
edimitrova 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 d95e6bd Fix test_sstableloader_empty_stream for trunk post CASSANDRA-16349 patch by Ekaterina Dimitrova; reviewed by Brandon Williams and Marcus Eriksson (CASSANDRA-16349)
d95e6bd is described below
commit d95e6bd6ba6f028a9ca657e53f67ffb87d8f9470
Author: Ekaterina Dimitrova <ek...@datastax.com>
AuthorDate: Mon Feb 28 11:30:38 2022 -0500
Fix test_sstableloader_empty_stream for trunk post CASSANDRA-16349
patch by Ekaterina Dimitrova; reviewed by Brandon Williams and Marcus Eriksson (CASSANDRA-16349)
---
sstable_generation_loading_test.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/sstable_generation_loading_test.py b/sstable_generation_loading_test.py
index 9696075..434e8ff 100644
--- a/sstable_generation_loading_test.py
+++ b/sstable_generation_loading_test.py
@@ -455,4 +455,7 @@ class TestSSTableGenerationAndLoading(BaseSStableLoaderTester):
assert len(ret) > 0, "Expected to stream at least 1 table"
for exit_status, _, stderr in ret:
assert exit_status == 0, "Expected exit code 0, got {}".format(exit_status)
- assert len(stderr) == 0, "Expected empty stderr, got {}".format(stderr)
+ # Below warning is emitted in trunk/4.1 because of CASSANDRA-15234. We exploit the backward compatibility
+ # framework with DTests instead of changing config in all old tests.
+ if len(stderr) > 0 and stderr is not "parameters have been deprecated. They have new names and/or value format":
+ "Expected empty stderr, got {}".format(stderr)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org