chore: remove slow process test (#10856)
This commit is contained in:
parent
36d0b0ff7a
commit
5506f528e5
|
|
@ -20,6 +20,10 @@ import (
|
||||||
|
|
||||||
// test that a restarting process resets pipes properly
|
// test that a restarting process resets pipes properly
|
||||||
func TestRestartingRebindsPipes(t *testing.T) {
|
func TestRestartingRebindsPipes(t *testing.T) {
|
||||||
|
if testing.Short() {
|
||||||
|
t.Skip("Skipping long running test in short mode")
|
||||||
|
}
|
||||||
|
|
||||||
exe, err := os.Executable()
|
exe, err := os.Executable()
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
|
|
||||||
|
|
@ -49,6 +53,7 @@ func TestRestartingRebindsPipes(t *testing.T) {
|
||||||
time.Sleep(1 * time.Millisecond)
|
time.Sleep(1 * time.Millisecond)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// the mainLoopWg.Wait() call p.Stop() makes takes multiple seconds to complete
|
||||||
p.Stop()
|
p.Stop()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue