From 5f0fa44cc1b2ad377eb0832ec7e4f2337fc843b4 Mon Sep 17 00:00:00 2001 From: Wolfy-J Date: Sat, 4 May 2019 18:05:24 +0300 Subject: fix weird test, move to xenial --- util/state_test.go | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'util/state_test.go') diff --git a/util/state_test.go b/util/state_test.go index d52bee1d..2afe682e 100644 --- a/util/state_test.go +++ b/util/state_test.go @@ -30,16 +30,6 @@ func TestServerState(t *testing.T) { assert.Len(t, state, runtime.NumCPU()) } -func TestDeadWorker(t *testing.T) { - w := &roadrunner.Worker{} - i := 0 - - w.Pid = &i - - _, err := WorkerState(w) - assert.Error(t, err) -} - func TestServerState_Err(t *testing.T) { _, err := ServerState(nil) assert.Error(t, err) -- cgit v1.2.3