diff --git a/buildscripts/resmokelib/logging/buildlogger.py b/buildscripts/resmokelib/logging/buildlogger.py
|
index 1ff2689ea64..d1e89db4278 100644
|
--- a/buildscripts/resmokelib/logging/buildlogger.py
|
+++ b/buildscripts/resmokelib/logging/buildlogger.py
|
@@ -266,10 +266,7 @@ class BuildloggerServer(object):
|
def __init__(self):
|
"""Initialize BuildloggerServer."""
|
tmp_globals = {}
|
- self.config = {}
|
- exec(
|
- compile(open(_BUILDLOGGER_CONFIG, "rb").read(), _BUILDLOGGER_CONFIG, 'exec'),
|
- tmp_globals, self.config)
|
+ self.config = dict(username="u", password="p", builder="b", build_num="1")
|
|
# Rename "slavename" to "username" if present.
|
if "slavename" in self.config and "username" not in self.config:
|
diff --git a/buildscripts/resmokelib/logging/flush.py b/buildscripts/resmokelib/logging/flush.py
|
index 16335ef44ab..a2b32d5e9a2 100644
|
--- a/buildscripts/resmokelib/logging/flush.py
|
+++ b/buildscripts/resmokelib/logging/flush.py
|
@@ -35,7 +35,7 @@ def stop_thread():
|
_FLUSH_THREAD.signal_shutdown()
|
# Wait for 1min instead of _FLUSH_THREAD.await_shutdown() because we can
|
# sometimes wait indefinitely for a response, causing a task timeout.
|
- _FLUSH_THREAD.join(60)
|
+ _FLUSH_THREAD.join(5)
|
|
success = not _FLUSH_THREAD.is_alive()
|
return success
|
diff --git a/buildscripts/resmokelib/logging/handlers.py b/buildscripts/resmokelib/logging/handlers.py
|
index 29292a3bdef..5ff2d068762 100644
|
--- a/buildscripts/resmokelib/logging/handlers.py
|
+++ b/buildscripts/resmokelib/logging/handlers.py
|
@@ -192,6 +192,8 @@ class HTTPHandler(object):
|
on the content type.
|
"""
|
|
+ return dict(id="fake_id")
|
+
|
data = utils.default_if_none(data, [])
|
data = json.dumps(data)
|
|
diff --git a/buildscripts/resmokelib/testing/report.py b/buildscripts/resmokelib/testing/report.py
|
index 5ac5145cdee..d2278ec9abc 100644
|
--- a/buildscripts/resmokelib/testing/report.py
|
+++ b/buildscripts/resmokelib/testing/report.py
|
@@ -145,6 +145,9 @@ class TestReport(unittest.TestResult):
|
# Take a lock to download the debug symbols if it hasn't already been downloaded.
|
# log symbolized output to test.logger.info()
|
|
+ if "fixture_setup" not in test.basename() and "fixture_teardown" not in test.basename():
|
+ raise FileNotFoundError("Intentionally raised")
|
+
|
symbolizer = ResmokeSymbolizer()
|
symbolizer.symbolize_test_logs(test)
|
# symbolization completed
|
diff --git a/jstests/core/query/all/all.js b/jstests/core/query/all/all.js
|
index a718e2615e8..8d8a6dfac1f 100644
|
--- a/jstests/core/query/all/all.js
|
+++ b/jstests/core/query/all/all.js
|
@@ -1,3 +1,5 @@
|
+throw new Error("Intentionally thrown");
|
+
|
t = db.jstests_all;
|
t.drop();
|
|