[
http://jira.amdatu.org/jira/browse/AMDATU-137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=10172#comment-10172
]
Ivo Ladage - van Doorn commented on AMDATU-137:
-----------------------------------------------
The problem can easily be reproduces by directly invoking the Thrift API with
setValue and getValue.
I added a simple integration test:
- Loops over i=0 till 1000
- Invokes Iface.insert to set the value of a test column to i with
ConsistencyLevel set to ALL
- Invokes Iface.get to retrieve the value of the test column with
ConsistencyLevel set to ALL and compares if the value written equals the
retrieved value
This test always fails, but the value of i for which it fails is always 10! So
it seems that there is something special about the 10th value written to
Cassandra.
> Running the integration tests fails at random
> ---------------------------------------------
>
> Key: AMDATU-137
> URL: http://jira.amdatu.org/jira/browse/AMDATU-137
> Project: Amdatu
> Issue Type: Bug
> Reporter: Ivo Ladage - van Doorn
> Assignee: Ivo Ladage - van Doorn
> Priority: Blocker
> Fix For: 0.0.6
>
>
> After updating to the latest trunk revision and performing a mvn clean
> install, the integration test keeps failing with errors that vary.
> The test that fails is org.amdatu.test.integration.tests.UserAdminStoreTest,
> but the exact error varies:
> junit.framework.AssertionFailedError: Group 'TestGuestUsers' has 1 basic
> members. Expected: 3. Members found: TestAdministrator
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.assertTrue(Assert.java:20)
> at
> org.amdatu.test.integration.tests.UserAdminStoreTest.assertBasicMemberCount(UserAdminStoreTest.java:175)
> at
> org.amdatu.test.integration.tests.UserAdminStoreTest.run(UserAdminStoreTest.java:141)
> or
> junit.framework.AssertionFailedError: Group 'TestGuestUsers' has 2 basic
> members. Expected: 3. Members found: TestAdministrator TestEditor
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.assertTrue(Assert.java:20)
> at
> org.amdatu.test.integration.tests.UserAdminStoreTest.assertBasicMemberCount(UserAdminStoreTest.java:176)
> at
> org.amdatu.test.integration.tests.UserAdminStoreTest.run(UserAdminStoreTest.java:142)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira