-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
155 additions
and
207 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,16 @@ | ||
# (C) Datadog, Inc. 2018 | ||
# All rights reserved | ||
# Licensed under a 3-clause BSD style license (see LICENSE) | ||
import os | ||
from datadog_checks.utils.common import get_docker_hostname | ||
|
||
from datadog_checks.dev import get_docker_hostname | ||
|
||
HOST = get_docker_hostname() | ||
PORT1 = 27017 | ||
PORT2 = 27018 | ||
MAX_WAIT = 150 | ||
|
||
MONGODB_SERVER = "mongodb://%s:%s/test" % (HOST, PORT1) | ||
MONGODB_SERVER2 = "mongodb://%s:%s/test" % (HOST, PORT2) | ||
|
||
|
||
MONGODB_CONFIG = { | ||
'server': MONGODB_SERVER | ||
} | ||
|
||
HERE = os.path.dirname(os.path.abspath(__file__)) | ||
ROOT = os.path.dirname(os.path.dirname(HERE)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.