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

test(action): add timeout to SSH server start #476

Merged
merged 1 commit into from
Dec 19, 2024
Merged

Conversation

AtomicFS
Copy link
Collaborator

@AtomicFS AtomicFS commented Dec 14, 2024

When I was looking into #470, I had a issue when the tests would take forever, especially the TestOpenSSH. It would hang for 1 hour until the go test ... -timeout 60m ... timeout would cause the test to fail.

So I made this timeout feature. I set it only to 5 seconds, but it should be fine I think.

This seems to be a problem in the new dagger v0.15.1 since the exact same problem is now in #474

@AtomicFS AtomicFS requested a review from MDr164 as a code owner December 14, 2024 11:32
@github-actions github-actions bot added testing Testing related bugfix Bugfix / fix labels Dec 14, 2024
@AtomicFS AtomicFS enabled auto-merge December 14, 2024 11:32
@AtomicFS AtomicFS force-pushed the fix/ssh-tunnel-timeout branch 2 times, most recently from 53e36e0 to 1f7308f Compare December 14, 2024 11:55
Signed-off-by: AtomicFS <vojtech.vesely@9elements.com>
@MDr164 MDr164 force-pushed the fix/ssh-tunnel-timeout branch from 57ef276 to 61be6cb Compare December 19, 2024 12:45
Copy link
Collaborator

@MDr164 MDr164 left a comment

Choose a reason for hiding this comment

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

We can ignore the linter warning for now as it's just the indirect dep one

@AtomicFS AtomicFS disabled auto-merge December 19, 2024 13:22
@AtomicFS AtomicFS merged commit d27861e into main Dec 19, 2024
68 of 69 checks passed
@AtomicFS AtomicFS deleted the fix/ssh-tunnel-timeout branch December 19, 2024 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Bugfix / fix testing Testing related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants