diff options
author | Seb <[email protected]> | 2022-07-14 17:41:55 +0200 |
---|---|---|
committer | Seb <[email protected]> | 2022-07-15 13:28:35 +0200 |
commit | fab6431a857ca0db2bc8bea90d35fee30657961d (patch) | |
tree | 7985c94ef8544d18e7d7d32f58ec32d18d03fdae | |
parent | c06c5c7d80bfd0f7a2733afbab961d65fdd568ae (diff) |
fix test failures
Signed-off-by: Seb <[email protected]>
-rw-r--r-- | roadrunner/roadrunner_test.go | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/roadrunner/roadrunner_test.go b/roadrunner/roadrunner_test.go index 820c207d..edc847ea 100644 --- a/roadrunner/roadrunner_test.go +++ b/roadrunner/roadrunner_test.go @@ -67,12 +67,9 @@ func TestServeStop(t *testing.T) { time.Sleep(20 * time.Millisecond) } - assert.Nil(t, serveError) - assert.False(t, stopped) - err = rr.Stop() assert.Nil(t, err) assert.Equal(t, fsm.Stopped, rr.CurrentState()) - assert.Equal(t, struct{}, <-stopped) - assert.Nil(t, <-serveError) + assert.Equal(t, struct{}{}, <-stopchan) + assert.Nil(t, <-errchan) } |