e2e: check if the controller is restarted #1792
Labels
CI
good first issue
Good for newcomers
help wanted
Extra attention is needed
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
todo
At the end of each e2e use case, detect if the controller has restarted.
background
To avoid incorrect coding causing the controller to crash and restart and make the test cases pass, we should detect and report it when cleaning up the cases.
related codes
Can be detected in the
afterEach
https://github.com/apache/apisix-ingress-controller/blob/master/test/e2e/scaffold/scaffold.go#L503.The text was updated successfully, but these errors were encountered: