Skip to content

Commit

Permalink
More robust cleanup of executors in test_kubernetes_executor (#28281)
Browse files Browse the repository at this point in the history
As a follow up after #28047, this PR will make the test cleanup
more robust and resilient to any errors that might have caused
kubernetes_executors left behind.

wrapping start()/end() in try/finally will make the tests
completely resilient to cases where the asserts start to fail -
without those, any failure in tests would cause the same resource
leakage as we initially had when #28407 was iterated on.

(cherry picked from commit 3b203bc)
  • Loading branch information
potiuk authored and pierrejeambrun committed Mar 6, 2023
1 parent a833dfb commit 389c074
Showing 1 changed file with 193 additions and 155 deletions.
Loading

0 comments on commit 389c074

Please sign in to comment.