You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by sn...@apache.org on 2016/06/19 11:19:17 UTC
[2/2] cassandra git commit: Ninja fix failing utest in trunk
Ninja fix failing utest in trunk
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/471552e0
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/471552e0
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/471552e0
Branch: refs/heads/trunk
Commit: 471552e0429267ae62c292487ddbb4d15a7daa49
Parents: 7ede582
Author: Robert Stupp <sn...@snazy.de>
Authored: Sat Jun 18 12:32:34 2016 +0200
Committer: Robert Stupp <sn...@snazy.de>
Committed: Sun Jun 19 13:18:28 2016 +0200
----------------------------------------------------------------------
.../cassandra/cql3/validation/entities/UserTypesTest.java | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cassandra/blob/471552e0/test/unit/org/apache/cassandra/cql3/validation/entities/UserTypesTest.java
----------------------------------------------------------------------
diff --git a/test/unit/org/apache/cassandra/cql3/validation/entities/UserTypesTest.java b/test/unit/org/apache/cassandra/cql3/validation/entities/UserTypesTest.java
index 9e9d0e2..7eae039 100644
--- a/test/unit/org/apache/cassandra/cql3/validation/entities/UserTypesTest.java
+++ b/test/unit/org/apache/cassandra/cql3/validation/entities/UserTypesTest.java
@@ -278,7 +278,7 @@ public class UserTypesTest extends CQLTester
execute("INSERT INTO %s (x, y) VALUES(1, {'firstValue': {a: 1}})");
assertRows(execute("SELECT * FROM %s"),
- row(1, map("firstValue", userType(1))));
+ row(1, map("firstValue", userType("a", 1))));
flush();
@@ -286,14 +286,14 @@ public class UserTypesTest extends CQLTester
execute("UPDATE %s SET y['secondValue'] = {a: 2, b: 2} WHERE x = 1");
assertRows(execute("SELECT * FROM %s"),
- row(1, map("firstValue", userType(1),
- "secondValue", userType(2, 2))));
+ row(1, map("firstValue", userType("a", 1),
+ "secondValue", userType("a", 2, "b", 2))));
flush();
assertRows(execute("SELECT * FROM %s"),
- row(1, map("firstValue", userType(1),
- "secondValue", userType(2, 2))));
+ row(1, map("firstValue", userType("a", 1),
+ "secondValue", userType("a", 2, "b", 2))));
}
@Test