Remove maintenance request after a host is drained.
authorSanthosh Kumar Shanmugham <santhoshkumar.s@gmail.com>
Thu, 7 Jun 2018 00:16:11 +0000 (17:16 -0700)
committerSanthosh Kumar <sshanmugham@twitter.com>
Thu, 7 Jun 2018 00:16:11 +0000 (17:16 -0700)
commitf8a7676b28b8cccc98c66eb5b9f2d528dc8400be
treee8c8d5c57435a16e059aad29898dbe291cc62399
parentf2acf53ff0d0cbb7b0c62f021cc55c9e45b32f9c
Remove maintenance request after a host is drained.

Delete the `HostMaintenaceRequest` once the host has been
`DRAINED`.

Testing Done:
./build-support/jenkins/build.sh
./src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh

Reviewed at https://reviews.apache.org/r/67479/
src/main/java/org/apache/aurora/scheduler/maintenance/MaintenanceController.java
src/test/java/org/apache/aurora/scheduler/maintenance/MaintenanceControllerImplTest.java