diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-03-17 17:02:36 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-03-17 17:04:06 +0900 |
| commit | 420c721c7da46ab1c633b019441b7b623215fd12 (patch) | |
| tree | 8443996fcee8a5df3427708ecdd353fba54f941b /internal/helper/helper_test.go | |
| parent | bac583f89edd1360150143ff51f7264c01aa69ec (diff) | |
all: raise timeout defaults
This avoids timing out on systems running very slowly.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/helper/helper_test.go')
| -rw-r--r-- | internal/helper/helper_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/helper/helper_test.go b/internal/helper/helper_test.go index dae098b8..a44d5ede 100644 --- a/internal/helper/helper_test.go +++ b/internal/helper/helper_test.go @@ -56,7 +56,7 @@ const ( // this function tests an implementation of the helper.Helper interface func testHelper(t *testing.T, createHelper func(ctx context.Context, setOutput func(stdoutP, stderrP *io.Writer), stat bool) helper.Helper) { oldWaitDelay := helper.WaitDelay - helper.WaitDelay = 16 * time.Second + helper.WaitDelay = 30 * time.Second t.Cleanup(func() { helper.WaitDelay = oldWaitDelay }) t.Run("start helper with status channel and wait", func(t *testing.T) { |
