func (s) TestRDSHandleResponseWithoutLDSWatch(t *testing.T) {
	_, cc, cleanup := startServerAndGetCC(t)
	defer cleanup()

	v2c := newV2Client(&testUpdateReceiver{
		f: func(string, map[string]interface{}) {},
	}, cc, goodNodeProto, func(int) time.Duration { return 0 }, nil)
	defer v2c.close()

	if v2c.handleRDSResponse(goodRDSResponse1) == nil {
		t.Fatal("v2c.handleRDSResponse() succeeded, should have failed")
	}
}
// TestRDSHandleResponseWithoutLDSWatch tests the case where the v2Client
// receives an RDS response without a registered LDS watcher.
TestRDSHandleResponseWithoutLDSWatch tests the case where the v2Client
receives an RDS response without a registered LDS watcher.
// TestRDSHandleResponseWithoutLDSWatch tests the case where the v2Client // receives an RDS response without a registered LDS watcher .
func (s) TestRDSHandleResponseWithoutLDSWatch(t *testing.T) {
	_, cc, cleanup := startServerAndGetCC(t)
	defer cleanup()
	v2c := newV2Client(&testUpdateReceiver{
		f: func(string, map[string]interface{}) {},
	}, cc, goodNodeProto, func(int) time.Duration { return 0 }, nil)
	defer v2c.close()
	if v2c.handleRDSResponse(goodRDSResponse1) == nil {
		t.Fatal("v2c.handleRDSResponse() succeeded, should have failed")
	}
}
func ( s ) TestRDSHandleResponseWithoutLDSWatch ( t * testing . T ) { _ , cc , cleanup := startServerAndGetCC ( t ) defer cleanup ( ) v2c := newV2Client ( & testUpdateReceiver { f : func ( string , map [ string ] interface { } ) { } , } , cc , goodNodeProto , func ( int ) time . Duration { return 0 } , nil ) defer v2c . close ( ) if v2c . handleRDSResponse ( goodRDSResponse1 ) == nil { t . Fatal ( " " ) } }
TestRDSHandleResponseWithoutLDSWatch tests the case where the v2Client
receives an RDS response without a registered LDS watcher.
TestRDSHandleResponseWithoutLDSWatch tests the case where the v2Client receives an RDS response without a registered LDS watcher .