-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Tests failing when building from source #1981
Comments
Hi @daveagill, thank you for reaching out. We are aware of the problem and will work to improve the tests so they can be executed successfully on Windows. As a workaround, you can skip all the tests by running: |
Thanks for the info @debora-ito. Failing tests does make deving & testing from a Windows machine a wee bit trickier. If it is difficult to make those tests work on Windows in the short term then perhaps they can be excluded from the suite via a command line arg. Better than a failing build or no tests running at all IMO. Anyway, since you're aware of the issue, feel free to close this. |
We agree, it's not a good developer experience. I'll keep this issue open until we release an update. |
I am also seeing failed tests when running it on Ubuntu. Should I create a new issue for this or tag onto this one with the details? |
I am facing the same issue when trying to build from the source many tests Errors along with Failures |
We apologize but the tests won't get fixed in v1. As a workaround, you can skip the tests by using the "skipTests" option: Java SDK v2 tests on Windows are working well, they are part of the build process triggered for each PR. We recommend migrating to Java SDK v2, and if this is still an issue please let us know and open a new issue in the v2 repo. Reference:
|
This issue is now closed. Comments on closed issues are hard for our team to see. |
Some tests are failing when I build locally on Windows.
I have simply cloned the repo and then run
mvn clean install -Dgpg.skip=true
The Reactor Summary says the failures are all in "AWS SDK for Java - Core".
The
mvn -v
command sums up my environment as follows:I have reproduced this on two separate Windows machines (same version of Java and Maven).
I am aware that the build is currently passing on Travis where it uses a slightly older Java version 1.8.0_121 and is also nix based.
If the issue is related to my versions of Java and/or Maven then if someone knows a combo that is known to work on WIndows I could re-try using those.
The following are the failing tests (click to expand):
com.amazonaws.auth.FullUriCredentialsEndpointProviderTest
com.amazonaws.auth.profile.ProfileCredentialsProviderTest
com.amazonaws.auth.profile.ProfilesConfigFileWriterTest
com.amazonaws.monitoring.EnvironmentVariableCsmConfigurationProviderTest
The text was updated successfully, but these errors were encountered: