Skip to content

Testcontainers fails on free disk space of more than 2TB #379

@chibenwa

Description

@chibenwa
[Building Java 8] log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[Building Java 8]         ℹ︎ Checking the system... 
[Building Java 8]         ✔ Docker version is newer than 1.6.0 
[Building Java 8] java.lang.NumberFormatException: For input string: "2982480572"
[Building Java 8] 	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
[Building Java 8] 	at java.lang.Integer.parseInt(Integer.java:583)
[Building Java 8] 	at java.lang.Integer.valueOf(Integer.java:766)
[Building Java 8] 	at org.testcontainers.DockerClientFactory.parseAvailableDiskSpace(DockerClientFactory.java:250)
[Building Java 8] 	at org.testcontainers.DockerClientFactory.checkDiskSpace(DockerClientFactory.java:165)
[Building Java 8] 	at org.testcontainers.DockerClientFactory.lambda$client$1(DockerClientFactory.java:126)
[Building Java 8] 	at org.testcontainers.DockerClientFactory.runInsideDocker(DockerClientFactory.java:229)
[Building Java 8] 	at org.testcontainers.DockerClientFactory.client(DockerClientFactory.java:117)
[Building Java 8] 	at org.testcontainers.containers.GenericContainer.<init>(GenericContainer.java:110)
[ ............. ]
[Building Java 8] 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)

IMO disk space should be represented as a long.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions