Open ArturoQuintana opened 3 years ago
@ArturoQuintana, you created the maintenance to be started after 60 seconds, but you put a sleep of only 10 seconds, so the maintenance is not yet running at the time you call the API to end it.
@ajoaoff, I have modified the code after your observation. The API code does work, but now I am receiving a 200 response; when should be a 201 following the documentation.
@hdiogenes @ajoaoff @rmotitsuki
It has been tested the API call /maintenance/{mw_id}/end on PATCH with the idea to execute an early end over a maintenance task that is running. Unfortunately, this task does not succeed. The test code used is as follow: