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

Adjust tests following new website deployment #13

Merged
merged 1 commit into from
Aug 7, 2017

Conversation

sbesson
Copy link
Member

@sbesson sbesson commented Aug 7, 2017

Noticed while investigating the timeouts in #12

The LocationTest of ome-common-java is using some hardcoded URLs and the tests seem
to be hanging following the deployment of the new website. This PR updates these tests to use the root of the new website in HTTP and HTTPS as well as a non-existing URL.

The concern with these tests has always been the dependency on an external resource albeit one we are maintaining actively /cc @kennethgillen While mocking would be a better unit test, an alternative here would be to use https://github.com/ome/ome-common-java instead.

The LocationTest of ome-common-java were using some hardcoded URLs which seem
to have been hanging following the deployment of the new website. This PR
updates the tests for URL locations to use the root of the new website in HTTP
and HTTPS mode as well as non-existing subdirectory.
@sbesson sbesson requested a review from dgault August 7, 2017 09:08
@kennethgillen
Copy link
Member

No objections to using www.openmicroscopy.org, and good to know about this dependency, thanks.

@rleigh-codelibre
Copy link
Contributor

Looks fine to me.

@sbesson
Copy link
Member Author

sbesson commented Aug 7, 2017

Thanks @rleigh-codelibre and @kennethgillen. Merging to restore Travis and unlock the work on #12

@sbesson sbesson merged commit 73efca1 into ome:master Aug 7, 2017
@sbesson sbesson deleted the tests_new_www branch August 7, 2017 12:59
@sbesson sbesson mentioned this pull request Aug 7, 2017
@sbesson sbesson added this to the 5.4.0 milestone Sep 21, 2017
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.

3 participants