Skip to content

Adjust tests following new website deployment#13

Merged
sbesson merged 1 commit intoome:masterfrom
sbesson:tests_new_www
Aug 7, 2017
Merged

Adjust tests following new website deployment#13
sbesson merged 1 commit intoome:masterfrom
sbesson:tests_new_www

Conversation

@sbesson
Copy link
Copy Markdown
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
Copy Markdown
Member

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

@rleigh-codelibre
Copy link
Copy Markdown
Contributor

Looks fine to me.

@sbesson
Copy link
Copy Markdown
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