summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2019-05-04 18:05:24 +0300
committerWolfy-J <[email protected]>2019-05-04 18:05:24 +0300
commit5f0fa44cc1b2ad377eb0832ec7e4f2337fc843b4 (patch)
tree71288005b78e7f45b5dd2caa6ef177938936299b
parenta32a72b727d82786f78da01ba5fd016ec7c853ff (diff)
fix weird test, move to xenial
-rw-r--r--util/state_test.go10
1 files changed, 0 insertions, 10 deletions
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)