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

bf: fix possible timeout in unit tests #973

Merged
merged 1 commit into from
Nov 1, 2017

Conversation

jonathan-gramain
Copy link
Contributor

@jonathan-gramain jonathan-gramain commented Oct 30, 2017

Prevent S3 unit tests from trying to access a local dmd which is not
running, by adding an option to BucketFileInterface constructor not to
attempt to open the database.

This is only for unit tests that use mocking with BucketFileInterface
and should be limited to this use.

nicolas2bert
nicolas2bert previously approved these changes Oct 30, 2017
LaurenSpiegel
LaurenSpiegel previously approved these changes Oct 30, 2017
@nicolas2bert
Copy link
Contributor

@ironman-machine try

@ironman-machine
Copy link
Contributor

Hello @nicolas2bert

"try": Success: Try build successfully launched on 'http://ci.ironmann.io/gh/scality/Integration/16560' with the following env. args:

{
    "SCALITY_INTEGRATION_BRANCH": "ultron/master",
    "REPO_NAME": "S3",
    "DEFAULT_BRANCH": "master",
    "SCALITY_S3_BRANCH": "bf/unitTestsDmdTimeout"
}

@ironman-machine
Copy link
Contributor

☀️ 👍 circleCI test succeeded!

Prevent S3 unit tests from trying to access a local dmd which is not
running, by adding an option to BucketFileInterface constructor not to
attempt to open the database.

This is only for unit tests that use mocking with BucketFileInterface
and should be limited to this use.
@ironman-machine ironman-machine dismissed stale reviews from nicolas2bert and LaurenSpiegel November 1, 2017 21:15

Do it again human slave!:point_right: :runner: (Oh and the pull request has been updated, by the way.)

@ironman-machine
Copy link
Contributor

PR has been updated. Reviewers, please be cautious.

@LaurenSpiegel LaurenSpiegel merged commit dfa751f into master Nov 1, 2017
@LaurenSpiegel LaurenSpiegel deleted the bf/unitTestsDmdTimeout branch November 1, 2017 23:16
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.

4 participants