This repository has been archived by the owner on Dec 15, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove UnableToGetLock alias, test that jobstep_allocate returns a 50…
…3 when unable to get lock Summary: Inability to allocate is expected in some circumstances, which is why the code intended to return a 503 in those cases. The intended exception wasn't caught, though it looks like it should've been. This change removes the indirection, making it do what it looks to be doing, and verifies that a 503 is returned in that case. This should resolve a bunch of errors from uncaught exceptions we see at deploy time. Test Plan: Unit Reviewers: jukka Reviewed By: jukka Subscribers: changesbot, wwu Differential Revision: https://tails.corp.dropbox.com/D94591
- Loading branch information
Showing
3 changed files
with
17 additions
and
3 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