accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Wall (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ACCUMULO-4343) DurabilityIT.testWriteSpeed can fail on slow hardware
Date Mon, 20 Jun 2016 13:18:05 GMT

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

Michael Wall updated ACCUMULO-4343:
-----------------------------------
    Fix Version/s:     (was: 1.8.0)
                   1.8.1

> DurabilityIT.testWriteSpeed can fail on slow hardware
> -----------------------------------------------------
>
>                 Key: ACCUMULO-4343
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4343
>             Project: Accumulo
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 1.7.1
>            Reporter: Mike Drob
>            Assignee: Mike Drob
>             Fix For: 1.7.3, 1.8.1
>
>
> When running the ITs, I will sometimes (~30%) get a failure that looks something like
> {noformat}
> java.lang.AssertionError: log should be faster than flush
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.assertTrue(Assert.java:41)
> 	at org.apache.accumulo.test.functional.DurabilityIT.testWriteSpeed(DurabilityIT.java:103)
> 2016-06-14 04:37:17,774 [functional.DurabilityIT] INFO : Attempt durations: [533, 573,
613, 664, 852]
> 2016-06-14 04:37:20,538 [functional.DurabilityIT] INFO : Attempt durations: [466, 470,
490, 494, 528]
> 2016-06-14 04:37:23,310 [functional.DurabilityIT] INFO : Attempt durations: [433, 464,
500, 512, 513]
> 2016-06-14 04:37:25,447 [functional.DurabilityIT] INFO : Attempt durations: [338, 345,
348, 383, 441]
> sync 613 flush 490 log 500 none 348
> {noformat}
> I think this is a result of my hardware being oversubscribed, or just generally not running
on a beefy enough machine.
> Instead of comparing medians, maybe we could compare mins, medians, and maxs, and assert
that at least two of the three are ordered? I don't want to play too many funny games with
the statistics here, but I also don't want the test to fail due to my specific hardware limitations.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message