diff options
author | Charlie Swanson <charlie.swanson@mongodb.com> | 2015-09-01 12:58:04 -0400 |
---|---|---|
committer | Charlie Swanson <charlie.swanson@mongodb.com> | 2015-09-03 09:15:11 -0400 |
commit | ff6326e5ab795e5e3ca94a12dd11806c6f875dd1 (patch) | |
tree | 0c08bbb062be0498fbe1cdb19900a9e7a0177fe5 /buildscripts/resmokelib/errors.py | |
parent | 5fa5befcc722efc4420b8d82b15200787260dd00 (diff) | |
download | mongo-ff6326e5ab795e5e3ca94a12dd11806c6f875dd1.tar.gz |
SERVER-18273 Compute ranges of ports for each job in resmoke.py
Diffstat (limited to 'buildscripts/resmokelib/errors.py')
-rw-r--r-- | buildscripts/resmokelib/errors.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/buildscripts/resmokelib/errors.py b/buildscripts/resmokelib/errors.py index 8243b4ce157..d07dd2078e6 100644 --- a/buildscripts/resmokelib/errors.py +++ b/buildscripts/resmokelib/errors.py @@ -33,3 +33,12 @@ class ServerFailure(TestFailure): as a failure. """ pass + + +class PortAllocationError(ResmokeError): + """ + Exception that is raised by the PortAllocator if a port is requested + outside of the range of valid ports, or if a fixture requests more + ports than were reserved for that job. + """ + pass |