cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedict (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-10151) Fix TrackerTest.testTryModify
Date Sat, 22 Aug 2015 09:31:45 GMT

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

Benedict commented on CASSANDRA-10151:
--------------------------------------

Which one?

The {{Mock.sstable()}} method immediately releases all of its references, in order that tests
can written more cleanly. Only the reference we've asked it not to release (which we now release
at the end) needs to be released. Unless I'm missing one?

> Fix TrackerTest.testTryModify
> -----------------------------
>
>                 Key: CASSANDRA-10151
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10151
>             Project: Cassandra
>          Issue Type: Test
>            Reporter: Stefania
>            Assignee: Benedict
>             Fix For: 2.2.1, 3.0 beta 2
>
>
> TrackerTest.testTryModify has started failing on trunk and 3.0:
> http://cassci.datastax.com/job/cassandra-3.0_testall/53/testReport/org.apache.cassandra.db.lifecycle/TrackerTest/testTryModify/
> {code}
> junit.framework.AssertionFailedError
> 	at org.apache.cassandra.utils.concurrent.Ref$State.assertNotReleased(Ref.java:165)
> 	at org.apache.cassandra.utils.concurrent.Ref.ref(Ref.java:121)
> 	at org.apache.cassandra.io.sstable.format.SSTableReader$GlobalTidy.get(SSTableReader.java:2251)
> 	at org.apache.cassandra.io.sstable.format.SSTableReader$InstanceTidier.setup(SSTableReader.java:2099)
> 	at org.apache.cassandra.io.sstable.format.SSTableReader.setup(SSTableReader.java:2040)
> 	at org.apache.cassandra.io.sstable.format.SSTableReader.internalOpen(SSTableReader.java:575)
> 	at org.apache.cassandra.MockSchema.sstable(MockSchema.java:124)
> 	at org.apache.cassandra.MockSchema.sstable(MockSchema.java:79)
> 	at org.apache.cassandra.MockSchema.sstable(MockSchema.java:74)
> 	at org.apache.cassandra.db.lifecycle.TrackerTest.testTryModify(TrackerTest.java:86)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message