diff --git a/client/allocrunner/tasklifecycle/gate_test.go b/client/allocrunner/tasklifecycle/gate_test.go index 3b77fadca91532b87942d19aa94f32077df1e8a8..4ff3a2f141e67d4a250087bf0b31cce1e9497334 100644 --- a/client/allocrunner/tasklifecycle/gate_test.go +++ b/client/allocrunner/tasklifecycle/gate_test.go @@ -62,23 +62,6 @@ func TestGate(t *testing.T) { requireChannelPassing(t, g.WaitCh(), "second allow") }, }, - { - name: "concurrent access", - test: func(t *testing.T, g *Gate) { - x := 100 - go func() { - for i := 0; i < x; i++ { - g.Open() - } - }() - go func() { - for i := 0; i < x/10; i++ { - g.Close() - } - }() - requireChannelPassing(t, g.WaitCh(), "gate should be open") - }, - }, } for _, tc := range testCases {