Repository: cassandra-dtest Updated Branches: refs/heads/master 4f2996b46 -> 9c2eb35a8
Accept ConfigurationException and IRE when dropping non-existent ks in secondary_indexes_test.py Project: http://git-wip-us.apache.org/repos/asf/cassandra-dtest/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra-dtest/commit/9c2eb35a Tree: http://git-wip-us.apache.org/repos/asf/cassandra-dtest/tree/9c2eb35a Diff: http://git-wip-us.apache.org/repos/asf/cassandra-dtest/diff/9c2eb35a Branch: refs/heads/master Commit: 9c2eb35a8c1d9fde1499fdfc7b02e7db36d321e0 Parents: 4f2996b Author: Aleksey Yeschenko <[email protected]> Authored: Wed Apr 11 13:14:57 2018 +0100 Committer: Aleksey Yeschenko <[email protected]> Committed: Wed Apr 11 13:14:57 2018 +0100 ---------------------------------------------------------------------- secondary_indexes_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra-dtest/blob/9c2eb35a/secondary_indexes_test.py ---------------------------------------------------------------------- diff --git a/secondary_indexes_test.py b/secondary_indexes_test.py index 9b0f326..55b240e 100644 --- a/secondary_indexes_test.py +++ b/secondary_indexes_test.py @@ -161,7 +161,7 @@ class TestSecondaryIndexes(Tester): logger.debug("round %s" % i) try: session.execute("DROP KEYSPACE ks") - except ConfigurationException: + except (ConfigurationException, InvalidRequest): pass create_ks(session, 'ks', 1) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
