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

Sam Lightfoot updated CASSANDRA-21182:
--------------------------------------
    Description: 
The test asserts memory has not grown on subsequent allocations, but gives no 
tolerance for background allocations, and thus often fails because the 
assertion is a few kb out of bounds.

Given we're asserting 64MB of growth has not happened, we can add a percentage 
delta allowance to the assertion.

[https://pre-ci.cassandra.apache.org/job/cassandra/410/testReport/junit/dtest.largecolumn_test/TestLargeColumn/Tests___dtest_jdk21_34_64___test_cleanup/history/]


{code:java}
assert 66073403 < 66060288 {code}

  was:
The test asserts memory has not grown on subsequent allocations, but gives no 
tolerance for background allocations, and thus often fails because the 
assertion is a few kb out of bounds.

Given we're asserting 64MB of growth has not happened, we can add a percentage 
delta allowance to the assertion.


> Fix flaky DTest: largecolumn_test.TestLargeColumn
> -------------------------------------------------
>
>                 Key: CASSANDRA-21182
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21182
>             Project: Apache Cassandra
>          Issue Type: Bug
>          Components: Local/Compaction
>            Reporter: Sam Lightfoot
>            Assignee: Sam Lightfoot
>            Priority: Normal
>             Fix For: 5.1
>
>
> The test asserts memory has not grown on subsequent allocations, but gives no 
> tolerance for background allocations, and thus often fails because the 
> assertion is a few kb out of bounds.
> Given we're asserting 64MB of growth has not happened, we can add a 
> percentage delta allowance to the assertion.
> [https://pre-ci.cassandra.apache.org/job/cassandra/410/testReport/junit/dtest.largecolumn_test/TestLargeColumn/Tests___dtest_jdk21_34_64___test_cleanup/history/]
> {code:java}
> assert 66073403 < 66060288 {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to