cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdusba...@apache.org
Subject svn commit: r1049166 - /cassandra/trunk/test/system/test_thrift_server.py
Date Tue, 14 Dec 2010 17:05:58 GMT
Author: gdusbabek
Date: Tue Dec 14 17:05:57 2010
New Revision: 1049166

URL: http://svn.apache.org/viewvc?rev=1049166&view=rev
Log:
fix broken nost test

Modified:
    cassandra/trunk/test/system/test_thrift_server.py

Modified: cassandra/trunk/test/system/test_thrift_server.py
URL: http://svn.apache.org/viewvc/cassandra/trunk/test/system/test_thrift_server.py?rev=1049166&r1=1049165&r2=1049166&view=diff
==============================================================================
--- cassandra/trunk/test/system/test_thrift_server.py (original)
+++ cassandra/trunk/test/system/test_thrift_server.py Tue Dec 14 17:05:57 2010
@@ -1128,7 +1128,7 @@ class TestMutations(ThriftTester):
         exc = _expect_exception(add_invalid_keyspace, InvalidRequestException)
         s = str(exc)
         assert s.find("InvalidStrategyClass") > -1, s
-        assert s.find("keyspace replication strategy") > -1, s
+        assert s.find("Unable to find replication strategy") > -1, s
 
         def update_invalid_keyspace():
             client.system_add_keyspace(KsDef('ValidKsForUpdate', 'org.apache.cassandra.locator.SimpleStrategy',
{}, 1, []))
@@ -1137,7 +1137,7 @@ class TestMutations(ThriftTester):
         exc = _expect_exception(update_invalid_keyspace, InvalidRequestException)
         s = str(exc)
         assert s.find("InvalidStrategyClass") > -1, s
-        assert s.find("keyspace replication strategy") > -1, s
+        assert s.find("Unable to find replication strategy") > -1, s
 
     def test_invalid_cf_names(self):
         def invalid_cf():



Mime
View raw message