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

Stefan Miklosovic edited comment on CASSANDRA-20148 at 1/8/25 1:23 PM:
-----------------------------------------------------------------------

[~blambov]

Do you think it would be enough to make that wiggle room bigger? It seems to me 
that this is always 5.6xx.

{code}
        # The throughput in the log is computed independantly from the 
throttling and on the output files while
        # throttling is on the input files, so while that throughput shouldn't 
be higher than the one set in
        # principle, a bit of wiggle room is expected
>       assert float(threshold) + 0.5 >= avgthroughput_mb
E       AssertionError: assert (5.0 + 0.5) >= 5.613
{code}


was (Author: smiklosovic):
[~blambov]

Do you think it would be enough to make that wiggle room bigger? It seems to me 
that this is always 5.613.

{code}
        # The throughput in the log is computed independantly from the 
throttling and on the output files while
        # throttling is on the input files, so while that throughput shouldn't 
be higher than the one set in
        # principle, a bit of wiggle room is expected
>       assert float(threshold) + 0.5 >= avgthroughput_mb
E       AssertionError: assert (5.0 + 0.5) >= 5.613
{code}

> Test failure: compaction_test.py::TestCompaction::test_compaction_throughput 
> -----------------------------------------------------------------------------
>
>                 Key: CASSANDRA-20148
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20148
>             Project: Apache Cassandra
>          Issue Type: Bug
>          Components: Test/dtest/python
>            Reporter: Sam Tunnicliffe
>            Priority: Normal
>
> Seeing this fail consistently on trunk with:
> {code}
> >       assert float(threshold) + 0.5 >= avgthroughput_mb
> E       AssertionError: assert (5.0 + 0.5) >= 5.642
> E        +  where 5.0 = float('5')
> compaction_test.py:302: AssertionError
> {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