This is an automated email from the ASF dual-hosted git repository.

konstantinov 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 b464b5a6 Prevent too long table names not fitting file names
b464b5a6 is described below

commit b464b5a63afc58358ff50a441d68247f167c61b3
Author: Ruslan Fomkin <ruslan.fom...@gmail.com>
AuthorDate: Thu Jul 31 20:27:58 2025 +0200

    Prevent too long table names not fitting file names
    
    Fix expected error message for too long table name
    
    Patch by Ruslan Fomkin; reviewed by Piotr Kołaczkowski, Dmitry 
Konstantinov, Maxwell Guo for CASSANDRA-20389
---
 cqlsh_tests/test_cqlsh.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cqlsh_tests/test_cqlsh.py b/cqlsh_tests/test_cqlsh.py
index a778d965..ba19dc30 100644
--- a/cqlsh_tests/test_cqlsh.py
+++ b/cqlsh_tests/test_cqlsh.py
@@ -599,7 +599,7 @@ UPDATE varcharmaptable SET varcharvarintmap['Vitrum edere 
possum, mihi non nocet
             err = node1.run_cqlsh(cmds=cmd, cqlsh_options=options).stderr
 
         if self.cluster.version() >= LooseVersion('4.0'):
-            assert "Keyspace name must not be empty, more than 48 characters 
long, or contain non-alphanumeric-underscore characters (got 'ä')" in err
+            assert 'Keyspace name must not be empty and must contain 
alphanumeric or underscore characters only (got "ä")' in err
         else:
             assert '"ä" is not a valid keyspace name' in err
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to