chore: remove slow process test (#10856)

This commit is contained in:
Joshua Powers 2022-03-24 10:56:32 -07:00 committed by GitHub
parent 36d0b0ff7a
commit 5506f528e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -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()
}