[
https://issues.apache.org/jira/browse/CASSANDRA-7010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marcus Eriksson updated CASSANDRA-7010:
---------------------------------------
Attachment: 7010.patch
I haven't been able to reproduce the exact error in the description here, but
it does fail intermittently for me as well.
I think the failures I get are due to the fact that "assert_almost_equals"
defines "almost" as within 16%, if I bump that to 30% I can't reproduce the
error (been running in a loop for 2 hours now). I think we simply sometimes
miss out on the 16% due to the randomness of vnode selection.
> bootstrap_test simple_bootstrap_test dtest fails in 2.1
> -------------------------------------------------------
>
> Key: CASSANDRA-7010
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7010
> Project: Cassandra
> Issue Type: Bug
> Components: Tests
> Reporter: Michael Shuler
> Assignee: Marcus Eriksson
> Fix For: 2.1 rc1
>
> Attachments: 7010.patch
>
>
> I patched ccm with https://github.com/pcmanus/ccm/pull/109 and got an error
> from simple_bootstrap:
> {noformat}
> ======================================================================
> FAIL: simple_bootstrap_test (bootstrap_test.TestBootstrap)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/home/mshuler/git/cassandra-dtest/bootstrap_test.py", line 58, in
> simple_bootstrap_test
> assert_almost_equal(initial_size, 2 * size1)
> File "/home/mshuler/git/cassandra-dtest/assertions.py", line 26, in
> assert_almost_equal
> assert vmin > vmax * (1.0 - error), "values not within %.2f%% of the max:
> %s" % (error * 100, args)
> AssertionError: values not within 16.00% of the max: (0, 186396)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)