Skip to content

allow to skip online tests #314

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

Merged
merged 1 commit into from
Feb 29, 2016
Merged

allow to skip online tests #314

merged 1 commit into from
Feb 29, 2016

Conversation

remicollet
Copy link
Contributor

In Fedora infrastructure, builder don't have internet access.
So test suite fails, see https://kojipkgs.fedoraproject.org//work/tasks/7900/13177900/build.log

FAIL
Assert Failure: "No suitable servers found (`serverselectiontryonce` set): [Failed to resolve 'doesntexist'] [Failed to resolve 'example.com']" does not contain "[connection error calling ismaster on 'example.com:2']"

This small enhancement allow to define SKIP_INLINE env. var. before running to skip such test (for now there is only 1)

@ajdavis
Copy link
Member

ajdavis commented Feb 29, 2016

Cool, let's rename the environment variable MONGOC_TEST_OFFLINE and rename the function test_framework_skip_if_offline, since I think that better describes its purpose.

@remicollet
Copy link
Contributor Author

renamed.

ajdavis added a commit that referenced this pull request Feb 29, 2016
@ajdavis ajdavis merged commit 44f06cc into mongodb:r1.3 Feb 29, 2016
@ajdavis
Copy link
Member

ajdavis commented Feb 29, 2016

Thanks!

ajdavis added a commit that referenced this pull request Feb 29, 2016
ajdavis added a commit that referenced this pull request Feb 29, 2016
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.

2 participants