Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use dedicated exception class when metrics response is empty * Add test for empty container metrics When container metrics (`/v0/containers/<c-id>`) returns a 204 empty response, we should still check the app metrics (`/v0/containers/<c-id>/app`) endpoint, which may have data. This test replicates the task metrics details test, but responds with a 204 Empty followed by a 200 OK. Without the accompanying fix, it will fail. * Catch empty metrics exception for container datapoints
- Loading branch information
1 parent
1e8d845
commit 46463a3
Showing
2 changed files
with
43 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