You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2014/03/28 01:13:15 UTC

[jira] [Commented] (ACCUMULO-2541) ScannerIT.testScannerReadaheadConfiguration

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

Josh Elser commented on ACCUMULO-2541:
--------------------------------------

Something seems.. goofy here. How do we read 10 elements, 5 of which didn't have readhead, in less time than the Slow iterator is configured to run. Those numbers shouldn't be capable of being returned in less than 1 second (1000millis).

> ScannerIT.testScannerReadaheadConfiguration
> -------------------------------------------
>
>                 Key: ACCUMULO-2541
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2541
>             Project: Accumulo
>          Issue Type: Sub-task
>          Components: test
>         Environment: nightly tests 1.6.0-SNAPSHOT
>            Reporter: Eric Newton
>            Assignee: Josh Elser
>             Fix For: 1.6.0
>
>
> {noformat}
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 15.894 sec <<< FAILURE!
> testScannerReadaheadConfiguration(org.apache.accumulo.test.functional.ScannerIT)  Time elapsed: 6.759 sec  <<< FAILURE!
> java.lang.AssertionError: Expected less time to be taken with immediate readahead (135) than without immediate readahead (86)
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.assertTrue(Assert.java:41)
> 	at org.apache.accumulo.test.functional.ScannerIT.testScannerReadaheadConfiguration(ScannerIT.java:108)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:622)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)