Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: let e2e test retry sending POST request if receiving an error …
…from http server (#513) We start seeing flaky e2e tests after enabling source data transformer. The error message is ``` Post "https://10.42.0.33:8443/vertices/in": dial tcp 10.42.0.33:8443: connect: connection refused e2eapi.go:68: Deleting Pipeline event-time-filter suite.go:73: test panicked: 500 Internal Server Error ``` My understanding is with transformer sidecar getting added to source vertex, it might take a bit longer for the source vertex to become fully functional. This change add retry so that test client retry sending POST to wait for source vertex to be ready. Signed-off-by: Keran Yang <[email protected]>
- Loading branch information