cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nirmal Ranganathan (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CASSANDRA-1279) heisenbug in RoundRobinSchedulerTest
Date Tue, 20 Jul 2010 17:02:56 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-1279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nirmal Ranganathan updated CASSANDRA-1279:
------------------------------------------

    Attachment: Cassandra-1279.patch

Fixed the problem, it's due to the unpredictable thread scheduling. The fixe loads the requests
and then lets the scheduler proceed, that way the tests could be somewhat predictable and
realize the expected behavior.

> heisenbug in RoundRobinSchedulerTest
> ------------------------------------
>
>                 Key: CASSANDRA-1279
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1279
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Jonathan Ellis
>            Assignee: Nirmal Ranganathan
>             Fix For: 0.7
>
>         Attachments: Cassandra-1279.patch
>
>
> Occasionally I see this error in the test suite:
>     [junit] Testcase: testScheduling(org.apache.cassandra.scheduler.RoundRobinSchedulerTest):
FAILED
>     [junit] 
>     [junit] junit.framework.AssertionFailedError: 
>     [junit] 	at org.apache.cassandra.scheduler.RoundRobinSchedulerTest.testScheduling(RoundRobinSchedulerTest.java:90)
>     [junit] 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message