google / turbinia

Automation and Scaling of Digital Forensics Tools
Apache License 2.0
731 stars 160 forks source link

Add retry port-forward connection and logic to wait until request is populated #1411

Closed wajihyassine closed 7 months ago

wajihyassine commented 8 months ago

Description of the change

Fixes an issue where port-forward connection wasn't able to establish after a first connection (happens very little and at random) so it retries the connection before considering the test failed

Also fixes request needing some time to populated on Turbinia server from when it was first submitted + minor nits.

aarontp commented 7 months ago

Is this good to merge then @wajihyassine ?

wajihyassine commented 7 months ago

Yep was planning to post oncall