Kong / mesh-perf

Performance tests of Kong Mesh
Apache License 2.0
0 stars 1 forks source link

fix(test): add retries when copy snapshot, wait on correct num instances #56

Closed lobkovilya closed 1 year ago

lobkovilya commented 1 year ago

If the Prometheus snapshot is slightly bigger then kubectl cp fails to download the file with the following error:

tar: removing leading '/' from member names
Dropping out copy after 0 retries
error: unexpected EOF

Seems like a known issue of kubectl https://github.com/kubernetes/kubectl/issues/1425, adding --retries fixes the problem.