saucelabs / forwarder

Forwarder is a production-ready, fast MITM proxy with PAC support. It's suitable for debugging, intercepting and manipulating HTTP traffic. It's used as a core component of Sauce Labs Sauce Connect Proxy.
https://forwarder-proxy.io
Mozilla Public License 2.0
202 stars 13 forks source link

Parallel e2e tests #765

Closed mmatczuk closed 3 months ago

mmatczuk commented 3 months ago

This patchset redefines our e2e tests framework allowing to run the tests in parallel. It also allows to run remotely with podman-remote as the container runtime.

Check e2e/README.md for details.

Choraden commented 3 months ago

LGTM, the debug mode satisfies my needs.

I'm a little surprised the e2e job takes 5m. I thought we would be able to reduce it even more, but it is still a great improvement as non parallel takes 8m on average.

mmatczuk commented 3 months ago

Adding more parallelism does not make it run faster due to constrained resources. We could run it in two shards odd and even to make it twice as fast.

mmatczuk commented 3 months ago

https://github.com/saucelabs/forwarder/issues/770