What you expected to happen:
I expect the disruption to be reverted after the experiments even after a timeout during the drain.
How to reproduce it (as minimally and precisely as possible):
ChaosEngine to reproduce the error (TOTAL_CHAOS_DURATION really low just to see the error easily)
BUG REPORT
What happened: The disruption is not reverted if there an error in https://github.com/litmuschaos/litmus-go/blob/master/chaoslib/litmus/node-drain/lib/node-drain.go#L134. Main error we encounter in this command is when there is timeout when the drain take too long.
What you expected to happen: I expect the disruption to be reverted after the experiments even after a timeout during the drain.
How to reproduce it (as minimally and precisely as possible): ChaosEngine to reproduce the error (
TOTAL_CHAOS_DURATION
really low just to see the error easily)Anything else we need to know?: Tested both in 2.14 and 3.0.0-beta8.