Repository: cassandra-dtest
Updated Branches:
  refs/heads/master 1df74a6af -> 0e6a1e6ed


Fix materialized_views_test.py (slightly)


Project: http://git-wip-us.apache.org/repos/asf/cassandra-dtest/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra-dtest/commit/0e6a1e6e
Tree: http://git-wip-us.apache.org/repos/asf/cassandra-dtest/tree/0e6a1e6e
Diff: http://git-wip-us.apache.org/repos/asf/cassandra-dtest/diff/0e6a1e6e

Branch: refs/heads/master
Commit: 0e6a1e6ed353dc07f4ece01ee409b962c27d7a3e
Parents: 1df74a6
Author: Aleksey Yeschenko <alek...@yeschenko.com>
Authored: Tue Apr 10 22:55:53 2018 +0100
Committer: Aleksey Yeschenko <alek...@yeschenko.com>
Committed: Tue Apr 10 22:55:53 2018 +0100

----------------------------------------------------------------------
 materialized_views_test.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra-dtest/blob/0e6a1e6e/materialized_views_test.py
----------------------------------------------------------------------
diff --git a/materialized_views_test.py b/materialized_views_test.py
index eaae8dd..f843dc8 100644
--- a/materialized_views_test.py
+++ b/materialized_views_test.py
@@ -828,7 +828,7 @@ class TestMaterializedViews(Tester):
         """
         session = self.prepare(user_table=True)
 
-        session.execute(("CREATE MATERIALIZED VIEW users_by_state2 AS SELECT 
username FROM users "
+        session.execute(("CREATE MATERIALIZED VIEW users_by_state2 AS SELECT 
state, username FROM users "
                          "WHERE STATE IS NOT NULL AND USERNAME IS NOT NULL 
PRIMARY KEY (state, username)"))
 
         self._insert_data(session)
@@ -2822,7 +2822,7 @@ class TestMaterializedViewsLockcontention(Tester):
         FROM test
         WHERE int1 IS NOT NULL AND date IS NOT NULL AND int2 IS NOT NULL
         PRIMARY KEY (int1, date, int2)
-        WITH CLUSTERING ORDER BY (date DESC, int1 DESC)""")
+        WITH CLUSTERING ORDER BY (date DESC, int2 DESC)""")
 
         return session
 


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

Reply via email to