Fixing unbuffered test to a generic test (#8162)
Fixing unbuffered test to a generic test (#8162)

* Fixing unbufered test to a generic test

* Update channel_test.cc

* splitting over functions

* add type

* fix *

putcn/Paddle,reyoung/Paddle,jacquesqiao/Paddle,lcy-seso/Paddle,lcy-seso/Paddle,reyoung/Paddle,Canpio/Paddle,baidu/Paddle,luotao1/Paddle,PaddlePaddle/Paddle,chengduoZH/Paddle,QiJune/Paddle,QiJune/Paddle,baidu/Paddle,baidu/Paddle,tensor-tang/Paddle,reyoung/Paddle,pkuyym/Paddle,chengduoZH/Paddle,pkuyym/Paddle,QiJune/Paddle,jacquesqiao/Paddle,jacquesqiao/Paddle,chengduoZH/Paddle,lcy-seso/Paddle,reyoung/Paddle,luotao1/Paddle,PaddlePaddle/Paddle,QiJune/Paddle,PaddlePaddle/Paddle,reyoung/Paddle,pkuyym/Paddle,putcn/Paddle,jacquesqiao/Paddle,lcy-seso/Paddle,Canpio/Paddle,lcy-seso/Paddle,luotao1/Paddle,putcn/Paddle,Canpio/Paddle,baidu/Paddle,PaddlePaddle/Paddle,QiJune/Paddle,jacquesqiao/Paddle,tensor-tang/Paddle,pkuyym/Paddle,QiJune/Paddle,reyoung/Paddle,Canpio/Paddle,putcn/Paddle,tensor-tang/Paddle,Canpio/Paddle,putcn/Paddle,luotao1/Paddle,chengduoZH/Paddle,PaddlePaddle/Paddle,chengduoZH/Paddle,pkuyym/Paddle,pkuyym/Paddle,luotao1/Paddle,lcy-seso/Paddle,PaddlePaddle/Paddle,luotao1/Paddle,luotao1/Paddle,Canpio/Paddle,baidu/Paddle,PaddlePaddle/Paddle,Canpio/Paddle,Canpio/Paddle,putcn/Paddle,tensor-tang/Paddle,jacquesqiao/Paddle,tensor-tang/Paddle