accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-2541) ScannerIT.testScannerReadaheadConfiguration
Date Fri, 28 Mar 2014 00:23:14 GMT

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

ASF subversion and git services commented on ACCUMULO-2541:
-----------------------------------------------------------

Commit 04281228716d3981d88c4769083c4f2f307343fd in accumulo's branch refs/heads/1.6.0-SNAPSHOT
from [~elserj]
[ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=0428122 ]

ACCUMULO-2541 Set seekSleepTime and not (next)sleepTime in ScannerIT

Setting a batchSize of 1 will cause a new ScanSession for each k/v returned.
This means that next() will never be called on SlowIterator and thus the
intended effect of waiting server side doesn't actually happen.


> 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)

Mime
View raw message