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

Ryan Svihla commented on CASSANDRA-15557:
-----------------------------------------

So digging into the actual failure, this took a few tries as wrapping logging, 
or flushing sstables seemed to make it hard to reproduce, I've confirmed it's 
time based errors at least in this case:

row ts:             {{1583753957613001 }}

dropped time: {{1583753957613000}}

{{[junit-timeout] Testcase: 
testDropListAndAddListWithSameName(org.apache.cassandra.cql3.validation.operations.AlterTest):
 FAILED }}
{{[junit-timeout] Dropped column: \{java.nio.HeapByteBuffer[pos=0 lim=12 
cap=12]=DroppedColumn{column=mycollection, droppedTime=1583753957613000}} Row 
timestamp: 1583753957613001 }}
{{[junit-timeout] junit.framework.AssertionFailedError: Dropped column: 
\{java.nio.HeapByteBuffer[pos=0 lim=12 
cap=12]=DroppedColumn{column=mycollection, droppedTime=1583753957613000}} Row 
timestamp: 1583753957613001}}
{{[junit-timeout] at 
org.apache.cassandra.cql3.validation.operations.AlterTest.testDropListAndAddListWithSameName(AlterTest.java:102)
 }}
{{[junit-timeout] at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
}}
{{[junit-timeout] at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 }}
{{[junit-timeout] at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 }}
{{[junit-timeout] Caused by: java.lang.AssertionError: Invalid value for row 0 
column 2 (mycollection of type list<text>), expected <null> but got <[first 
element]> }}
{{[junit-timeout] at 
org.apache.cassandra.cql3.CQLTester.assertRows(CQLTester.java:1070)}}
{{[junit-timeout] at 
org.apache.cassandra.cql3.validation.operations.AlterTest.testDropListAndAddListWithSameName(AlterTest.java:98)
 }}
{{[junit-timeout]}}
{{[junit-timeout]}}

 

 

> Fix flaky test org.apache.cassandra.cql3.validation.operations.AlterTest 
> testDropListAndAddListWithSameName
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-15557
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15557
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/unit
>            Reporter: David Capwell
>            Assignee: Ryan Svihla
>            Priority: Normal
>             Fix For: 4.0-alpha
>
>
> https://app.circleci.com/jobs/github/dcapwell/cassandra/482/tests
> {code}
> junit.framework.AssertionFailedError: Invalid value for row 0 column 2 
> (mycollection of type list<text>), expected <null> but got <[first element]>
>       at org.apache.cassandra.cql3.CQLTester.assertRows(CQLTester.java:1070)
>       at 
> org.apache.cassandra.cql3.validation.operations.AlterTest.testDropListAndAddListWithSameName(AlterTest.java:91)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to