From 5506f528e55b6d2e1a06190509af97b9062437d9 Mon Sep 17 00:00:00 2001 From: Joshua Powers Date: Thu, 24 Mar 2022 10:56:32 -0700 Subject: [PATCH] chore: remove slow process test (#10856) --- internal/process/process_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/internal/process/process_test.go b/internal/process/process_test.go index 228f2f1e1..e07d6a46e 100644 --- a/internal/process/process_test.go +++ b/internal/process/process_test.go @@ -20,6 +20,10 @@ import ( // test that a restarting process resets pipes properly func TestRestartingRebindsPipes(t *testing.T) { + if testing.Short() { + t.Skip("Skipping long running test in short mode") + } + exe, err := os.Executable() require.NoError(t, err) @@ -49,6 +53,7 @@ func TestRestartingRebindsPipes(t *testing.T) { time.Sleep(1 * time.Millisecond) } + // the mainLoopWg.Wait() call p.Stop() makes takes multiple seconds to complete p.Stop() }