You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuweni.apache.org by Sail Ren <re...@gmail.com> on 2019/06/22 11:09:07 UTC

one test failed when build

Hi dev,

I am new here and download source code and build.
below is the error.

Should I post this issue here or some where else ?  Thanks.

Mac OS with

java version "1.8.0_181"

Java(TM) SE Runtime Environment (build 1.8.0_181-b13)

Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)



org/apache/tuweni/io/ResourcesTest.java

line 47 failed.

 assertEquals(13, all.size(), () -> describeExpectation(13, all));


// Java 8 captures the root entry of the folder in the jar.
if (version.startsWith("1.")) {
  assertEquals(13, all.size(), () -> describeExpectation(13, all));
} else {
  assertEquals(12, all.size(), () -> describeExpectation(12, all));
}



org.opentest4j.AssertionFailedError: Should have contained 13 items, but
got 12:

  file:/Users/sail/Code/tuweni/io/build/resources/test/org/apache/tuweni/io/file/resourceresolver/



best regards

Sail

Re: one test failed when build

Posted by Antoine Toulme <an...@toulme.name>.
Please file a bug if you can. Also ok to disable this test for now.

> On Jun 22, 2019, at 13:09, Sail Ren <re...@gmail.com> wrote:
> 
> Hi dev,
> 
> I am new here and download source code and build.
> below is the error.
> 
> Should I post this issue here or some where else ?  Thanks.
> 
> Mac OS with
> 
> java version "1.8.0_181"
> 
> Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
> 
> Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
> 
> 
> 
> org/apache/tuweni/io/ResourcesTest.java
> 
> line 47 failed.
> 
> assertEquals(13, all.size(), () -> describeExpectation(13, all));
> 
> 
> // Java 8 captures the root entry of the folder in the jar.
> if (version.startsWith("1.")) {
>  assertEquals(13, all.size(), () -> describeExpectation(13, all));
> } else {
>  assertEquals(12, all.size(), () -> describeExpectation(12, all));
> }
> 
> 
> 
> org.opentest4j.AssertionFailedError: Should have contained 13 items, but
> got 12:
> 
>  file:/Users/sail/Code/tuweni/io/build/resources/test/org/apache/tuweni/io/file/resourceresolver/
> 
> 
> 
> best regards
> 
> Sail


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tuweni.apache.org
For additional commands, e-mail: dev-help@tuweni.apache.org