func TestByteQueueSuite(t *testing.T) { pool, _ := conn.New(conn.ConnectionParam{ Address: "127.0.0.1:6379", }, 1) suite.Run(t, &ByteQueueSuite{test.NewSuite(pool)}) }
func TestSimpleDetectorSuite(t *testing.T) { pool, _ := conn.New(conn.ConnectionParam{ Address: "127.0.0.1:6379", }, 1) suite.Run(t, &SimpleDetectorSuite{test.NewSuite(pool)}) }
func TestLIFOProcessorSuite(t *testing.T) { pool, _ := conn.New(conn.ConnectionParam{ Address: "127.0.0.1:6379", }, 1) suite.Run(t, &LIFOProcessorTest{test.NewSuite(pool)}) }
func TestHeartbeaterSuite(t *testing.T) { pool, _ := conn.New(conn.ConnectionParam{ Address: "127.0.0.1:6379", }, 1) suite.Run(t, &HeartbeaterSuite{test.NewSuite(pool)}) }
func create(t *testing.T) *Client { client := New(conn.New(conn.ConnectionParam{ Address: "127.0.0.1:6379", Timeout: time.Second, }, 1)) go client.Connect() client.WaitFor(ConnectedEvent) return client }