Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 4 commits into from
Jan 11, 2024

Conversation

wajihyassine
Copy link
Member

@wajihyassine wajihyassine commented Jan 2, 2024

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.

  • All tests were successful.

@wajihyassine wajihyassine self-assigned this Jan 2, 2024
@wajihyassine wajihyassine changed the title Add retry port-forward connection Add retry port-forward connection and logic to wait until request is populated Jan 3, 2024
@wajihyassine wajihyassine marked this pull request as ready for review January 3, 2024 22:41
Copy link
Collaborator

@hacktobeer hacktobeer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@aarontp
Copy link
Member

aarontp commented Jan 11, 2024

Is this good to merge then @wajihyassine ?

@wajihyassine
Copy link
Member Author

Yep was planning to post oncall

@wajihyassine wajihyassine merged commit f288041 into master Jan 11, 2024
13 checks passed
jleaniz pushed a commit to jleaniz/turbinia that referenced this pull request Feb 28, 2024
…populated (google#1411)

* Add retry port-forward connection

* merge other changes

* more small fixes

* add sleep
jleaniz pushed a commit to jleaniz/turbinia that referenced this pull request Mar 18, 2024
…populated (google#1411)

* Add retry port-forward connection

* merge other changes

* more small fixes

* add sleep
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants