cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward Capriolo (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-7027) Back port MultiSliceRequest to 2.1
Date Sat, 12 Apr 2014 16:14:14 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-7027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13967564#comment-13967564
] 

Edward Capriolo commented on CASSANDRA-7027:
--------------------------------------------

While porting this oven I found a bug, 3.0 and 2.1 are not handling multi-slice the same way
 
public void test_with_overlap_reversed() throws TException
 
junit.framework.AssertionFailedError: [ColumnOrSuperColumn(column:Column(name:65, value:,
timestamp:18399348367086)), ColumnOrSuperColumn(column:Column(name:64, value:, timestamp:18399343552887)),
ColumnOrSuperColumn(column:Column(name:63, value:, timestamp:18399338887396)), ColumnOrSuperColumn(column:Column(name:62,
value:, timestamp:18399334243417)), ColumnOrSuperColumn(column:Column(name:61, value:, timestamp:18399329438032))]
[g, f, e, d, c, b, a] did not have same number of elements expected:<5> but was:<7>
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.failNotEquals(Assert.java:277)
	at junit.framework.Assert.assertEquals(Assert.java:64)
	at junit.framework.Assert.assertEquals(Assert.java:195)
	at org.apache.cassandra.thrift.MultiSliceTest.assertColumnNameMatches(MultiSliceTest.java:134)
	at org.apache.cassandra.thrift.MultiSliceTest.test_with_overlap_reversed(MultiSliceTest.java:94)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:44)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
	at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)



> Back port MultiSliceRequest to 2.1
> ----------------------------------
>
>                 Key: CASSANDRA-7027
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7027
>             Project: Cassandra
>          Issue Type: Task
>            Reporter: Edward Capriolo
>            Assignee: Edward Capriolo
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message