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

Moditha Hewasinghage updated HADOOP-18784:
------------------------------------------
    Environment:     (was: But succeeds when running by itself. Most likely fs 
might be reused between tests and we count the fsStats.getBytesRead()

 

```

[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.393 s 
<<< FAILURE! - in 
org.apache.hadoop.fs.s3a.statistics.ITestS3AFileSystemStatistic
[ERROR] 
testBytesReadWithStream(org.apache.hadoop.fs.s3a.statistics.ITestS3AFileSystemStatistic)
  Time elapsed: 2.392 s  <<< FAILURE!
java.lang.AssertionError: Mismatch in number of FS bytes read by InputStreams 
expected:<2048> but was:<69944985>
    at org.junit.Assert.fail(Assert.java:89)
    at org.junit.Assert.failNotEquals(Assert.java:835)
    at org.junit.Assert.assertEquals(Assert.java:647)
    at 
org.apache.hadoop.fs.s3a.statistics.ITestS3AFileSystemStatistic.testBytesReadWithStream(ITestS3AFileSystemStatistic.java:72)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)

```)

> ITestS3AFileSystemStatistic failure on mvn verify
> -------------------------------------------------
>
>                 Key: HADOOP-18784
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18784
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: test
>            Reporter: Moditha Hewasinghage
>            Priority: Minor
>




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