Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: file path with spaces in not properly decoded during tests #9025

Closed
simpletasks opened this issue Jul 27, 2024 · 2 comments
Closed

[Bug]: file path with spaces in not properly decoded during tests #9025

simpletasks opened this issue Jul 27, 2024 · 2 comments
Labels

Comments

@simpletasks
Copy link
Contributor

Module

Core

Testcontainers version

master

Using the latest Testcontainers version?

Yes

Host OS

Windows

Host Arch

x86

Docker version

26.1.1

What happened?

On local build of the testcontainer project with gradlew clean build -x test,
core module tests failed because spaces in the path of the jar file.

Relevant log output

Caused by: java.lang.RuntimeException: java.nio.file.NoSuchFileException: C:\Users\Krunoslav%20Magazin\projects\testcontainers-java\core\build\libs\testcontainers.jar
	at org.testcontainers.AbstractJarFileTest.<clinit>(AbstractJarFileTest.java:21)

Additional Information

Create a directory with space in the name. Inside the directory put testcontainers-java project and try to build it.

@simpletasks
Copy link
Contributor Author

#9026 merge request

@eddumelendez
Copy link
Member

Fixed by #9026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants