diff options
author | Charlie Swanson <charlie.swanson@mongodb.com> | 2015-05-11 10:12:09 -0400 |
---|---|---|
committer | Charlie Swanson <charlie.swanson@mongodb.com> | 2015-05-20 11:55:55 -0400 |
commit | 15a5fcc64463fd5886f29ae41de57f83aed6977a (patch) | |
tree | b4fc5eaa81202d0db4ce7ffdffc8427139866a36 /buildscripts/resmokelib/testing/fixtures/standalone.py | |
parent | 7fd78ce02d16219af90a8e5d0429fbd3b68b4edc (diff) | |
download | mongo-15a5fcc64463fd5886f29ae41de57f83aed6977a.tar.gz |
SERVER-18390 Check dbhash of all databases during small_oplog suites
Diffstat (limited to 'buildscripts/resmokelib/testing/fixtures/standalone.py')
-rw-r--r-- | buildscripts/resmokelib/testing/fixtures/standalone.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/buildscripts/resmokelib/testing/fixtures/standalone.py b/buildscripts/resmokelib/testing/fixtures/standalone.py index e4e5ea35a80..2a2158ef6f2 100644 --- a/buildscripts/resmokelib/testing/fixtures/standalone.py +++ b/buildscripts/resmokelib/testing/fixtures/standalone.py @@ -126,10 +126,14 @@ class MongoDFixture(interface.Fixture): self.mongod.pid) self.mongod.stop() - success = self.mongod.wait() == 0 + exit_code = self.mongod.wait() + success = exit_code == 0 if running_at_start: - self.logger.info("Successfully terminated the mongod on port %d.", self.port) + self.logger.info("Successfully terminated the mongod on port %d, exited with code" + " %d.", + self.port, + exit_code) return success |