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

fixed integration tests which were breaking in non-clean builds #321

Closed
wants to merge 2 commits into from
Closed

fixed integration tests which were breaking in non-clean builds #321

wants to merge 2 commits into from

Conversation

ksclarke
Copy link
Contributor

https://www.pivotaltracker.com/story/show/69740244 (HTTP API Module fails when not installed with clean)

This PR contains:

  1. A fix for HTTP API Module tests that were failing when the build was run with mvn install instead of mvn clean install (this was mostly a case of not using the getRandomUniquePid() method, of the parent AbstractResourceIT class, to generate pids).

  2. A similar fix for tests in fcrepo-auth-common (which could be seen to fail once the fcrepo-http-api tests had been fixed).

  3. Code reformatting for the touched tests (lines allowed at 120 characters now, instead of 80), fixes indentation (which will conform to checkstyle rules (once tests are run against them)), etc.

  4. Removal of imports which weren't being used (Eclipse does this automagically when it does the normal reformatting).

  5. Addition of a getRandomUniquePid() method in the AbstractResourceIT class in the fcrepo-auth-common package (similar to the AbstractResourceIT class in the fcrepo-http-api package) and a preference for using that method in the parent class rather than each test calling UUID directly (across both packages).

All packages are building now with: mvn install

@ksclarke
Copy link
Contributor Author

Okay, this is ready for review now. Thanks.

@awoods
Copy link

awoods commented Apr 29, 2014

Resolved with: ba01f43

Addresses: https://www.pivotaltracker.com/story/show/69740244

@awoods awoods closed this Apr 29, 2014
@ksclarke ksclarke deleted the fix-tests-for-nonclean-build-69740244 branch May 2, 2014 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants