nri-plugins icon indicating copy to clipboard operation
nri-plugins copied to clipboard

e2e: speed up test execution

Open askervin opened this issue 1 month ago • 2 comments

  • Do not use proxy plugin if not needed. Skips repeating long "Configuring ...." steps.
  • Use synchronize instead of copy for helm charts. Runs single rsync instead of multiple scp transfers.
  • Use ssh connection multiplexing in case of using .ssh-config, too.

askervin avatar Nov 25 '25 14:11 askervin

Marked ready-for-review after successful validation that this works in environments strictly behind proxies and without any proxies.

askervin avatar Nov 26 '25 09:11 askervin

If a vagrant vm is already running after previous tests, these changes speed-up the test start up time: from launching "run_tests.sh" until finishing "TASK [copy helm charts]":

  • without patches: 37 seconds
  • with patches: 4.8 seconds

askervin avatar Nov 26 '25 10:11 askervin