Skip to content

Conversation

@apesternikov
Copy link
Contributor

@apesternikov apesternikov commented Apr 14, 2024

integration test should also be terminated early

  • if any container state in the namespace is BackOff
  • if any container exited with nonzero error code and Reason: Error

@apesternikov apesternikov changed the title BackOff is a reason to early termination BackOff should cause an early termination Apr 14, 2024
}
tails[id].Close()
delete(tails, id)
})

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The error handling strategy within the Watch function's callback does not account for handling errors that may occur during the execution of the callback. This could lead to silent failures where errors are not propagated or logged, making debugging difficult. It's recommended to implement a strategy for error handling within the callback, such as logging errors or using a channel to propagate errors back to the caller for handling.

@apesternikov apesternikov changed the title BackOff should cause an early termination more conditions to terminate integration test earlier Apr 14, 2024
@apesternikov apesternikov merged commit 16bd84e into main Apr 15, 2024
@apesternikov apesternikov deleted the ap/early_it_termination branch April 26, 2024 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants