Fix two ways tests can hang
Fix two ways tests can hang

Both have to do with the test runner's handling of the tests. With one
it's the read thread somehow outliving the other threads (e.g. with
ctrl-C). The other is due to a filled OS-level pipe's buffer causing a
block while code is still holding the GIL in some gRPC core function. We
can't empty the buffer from Python because the GIL is held, and the OS
can't unblock because it's waiting for the buffer to get cleared:
deadlock.

apolcyn/grpc,fuchsia-mirror/third_party-grpc,tengyifei/grpc,vjpai/grpc,msmania/grpc,soltanmm-google/grpc,philcleveland/grpc,jboeuf/grpc,goldenbull/grpc,y-zeng/grpc,adelez/grpc,grpc/grpc,pmarks-net/grpc,deepaklukose/grpc,Vizerai/grpc,kskalski/grpc,soltanmm-google/grpc,pmarks-net/grpc,ejona86/grpc,firebase/grpc,matt-kwong/grpc,y-zeng/grpc,thunderboltsid/grpc,thunderboltsid/grpc,a-veitch/grpc,quizlet/grpc,dklempner/grpc,jboeuf/grpc,perumaalgoog/grpc,royalharsh/grpc,zhimingxie/grpc,philcleveland/grpc,Vizerai/grpc,msmania/grpc,kumaralokgithub/grpc,soltanmm-google/grpc,yang-g/grpc,stanley-cheung/grpc,msmania/grpc,miselin/grpc,PeterFaiman/ruby-grpc-minimal,hstefan/grpc,donnadionne/grpc,a11r/grpc,dgquintas/grpc,donnadionne/grpc,simonkuang/grpc,sreecha/grpc,nicolasnoble/grpc,a-veitch/grpc,murgatroid99/grpc,pszemus/grpc,infinit/grpc,mehrdada/grpc,yugui/grpc,ejona86/grpc,soltanmm-google/grpc,yang-g/grpc,sreecha/grpc,sreecha/grpc,grani/grpc,andrewpollock/grpc,kriswuollett/grpc,a-veitch/grpc,hstefan/grpc,VcamX/grpc,ananthonline/grpc,kumaralokgithub/grpc,leifurhauks/grpc,carl-mastrangelo/grpc,y-zeng/grpc,yongni/grpc,zhimingxie/grpc,pszemus/grpc,stanley-cheung/grpc,apolcyn/grpc,firebase/grpc,dgquintas/grpc,yongni/grpc,7anner/grpc,philcleveland/grpc,mehrdada/grpc,soltanmm/grpc,yongni/grpc,philcleveland/grpc,infinit/grpc,thinkerou/grpc,LuminateWireless/grpc,pszemus/grpc,dklempner/grpc,wcevans/grpc,sreecha/grpc,matt-kwong/grpc,kumaralokgithub/grpc,kumaralokgithub/grpc,7anner/grpc,muxi/grpc,vsco/grpc,y-zeng/grpc,greasypizza/grpc,thinkerou/grpc,ncteisen/grpc,firebase/grpc,grani/grpc,arkmaxim/grpc,soltanmm-google/grpc,muxi/grpc,ctiller/grpc,dklempner/grpc,miselin/grpc,geffzhang/grpc,apolcyn/grpc,matt-kwong/grpc,vsco/grpc,ejona86/grpc,miselin/grpc,Crevil/grpc,soltanmm-google/grpc,malexzx/grpc,jcanizales/grpc,Vizerai/grpc,a11r/grpc,grani/grpc,msmania/grpc,pmarks-net/grpc,andrewpollock/grpc,miselin/grpc,makdharma/grpc,quizlet/grpc,MakMukhi/grpc,ctiller/grpc,rjshade/grpc,MakMukhi/grpc,PeterFaiman/ruby-grpc-minimal,baylabs/grpc,makdharma/grpc,arkmaxim/grpc,jcanizales/grpc,vjpai/grpc,deepaklukose/grpc,simonkuang/grpc,malexzx/grpc,philcleveland/grpc,jtattermusch/grpc,matt-kwong/grpc,sreecha/grpc,kpayson64/grpc,goldenbull/grpc,ejona86/grpc,ejona86/grpc,tengyifei/grpc,thinkerou/grpc,nicolasnoble/grpc,podsvirov/grpc,miselin/grpc,infinit/grpc,jboeuf/grpc,jtattermusch/grpc,daniel-j-born/grpc,7anner/grpc,muxi/grpc,leifurhauks/grpc,thunderboltsid/grpc,yang-g/grpc,grpc/grpc,7anner/grpc,yongni/grpc,kpayson64/grpc,ncteisen/grpc,leifurhauks/grpc,makdharma/grpc,ipylypiv/grpc,grpc/grpc,grani/grpc,ncteisen/grpc,ncteisen/grpc,kskalski/grpc,hstefan/grpc,PeterFaiman/ruby-grpc-minimal,chrisdunelm/grpc,Vizerai/grpc,miselin/grpc,vsco/grpc,fuchsia-mirror/third_party-grpc,goldenbull/grpc,infinit/grpc,thinkerou/grpc,philcleveland/grpc,baylabs/grpc,stanley-cheung/grpc,daniel-j-born/grpc,kumaralokgithub/grpc,PeterFaiman/ruby-grpc-minimal,Crevil/grpc,donnadionne/grpc,stanley-cheung/grpc,deepaklukose/grpc,makdharma/grpc,dklempner/grpc,simonkuang/grpc,matt-kwong/grpc,ncteisen/grpc,quizlet/grpc,firebase/grpc,andrewpollock/grpc,jtattermusch/grpc,kriswuollett/grpc,ppietrasa/grpc,baylabs/grpc,kskalski/grpc,podsvirov/grpc,y-zeng/grpc,ananthonline/grpc,jboeuf/grpc,a11r/grpc,kskalski/grpc,chrisdunelm/grpc,7anner/grpc,thinkerou/grpc,goldenbull/grpc,dgquintas/grpc,yugui/grpc,pszemus/grpc,7anner/grpc,vjpai/grpc,soltanmm/grpc,kpayson64/grpc,thinkerou/grpc,Vizerai/grpc,vsco/grpc,kpayson64/grpc,baylabs/grpc,ncteisen/grpc,apolcyn/grpc,hstefan/grpc,andrewpollock/grpc,mehrdada/grpc,ananthonline/grpc,wcevans/grpc,zhimingxie/grpc,ctiller/grpc,kpayson64/grpc,soltanmm/grpc,andrewpollock/grpc,a11r/grpc,geffzhang/grpc,nicolasnoble/grpc,malexzx/grpc,nicolasnoble/grpc,thunderboltsid/grpc,malexzx/grpc,sreecha/grpc,soltanmm/grpc,carl-mastrangelo/grpc,a-veitch/grpc,ananthonline/grpc,geffzhang/grpc,kskalski/grpc,ipylypiv/grpc,greasypizza/grpc,kskalski/grpc,simonkuang/grpc,rjshade/grpc,podsvirov/grpc,ncteisen/grpc,perumaalgoog/grpc,rjshade/grpc,leifurhauks/grpc,dklempner/grpc,royalharsh/grpc,yongni/grpc,a-veitch/grpc,msmania/grpc,jcanizales/grpc,grpc/grpc,donnadionne/grpc,baylabs/grpc,carl-mastrangelo/grpc,7anner/grpc,kpayson64/grpc,ejona86/grpc,wcevans/grpc,tengyifei/grpc,hstefan/grpc,stanley-cheung/grpc,ejona86/grpc,vsco/grpc,stanley-cheung/grpc,jboeuf/grpc,goldenbull/grpc,quizlet/grpc,ncteisen/grpc,Crevil/grpc,jtattermusch/grpc,arkmaxim/grpc,kskalski/grpc,ipylypiv/grpc,pszemus/grpc,malexzx/grpc,grani/grpc,jboeuf/grpc,geffzhang/grpc,ppietrasa/grpc,malexzx/grpc,Vizerai/grpc,ppietrasa/grpc,mehrdada/grpc,perumaalgoog/grpc,carl-mastrangelo/grpc,arkmaxim/grpc,bogdandrutu/grpc,mehrdada/grpc,arkmaxim/grpc,goldenbull/grpc,ejona86/grpc,Crevil/grpc,hstefan/grpc,apolcyn/grpc,grpc/grpc,grani/grpc,kriswuollett/grpc,vjpai/grpc,wcevans/grpc,arkmaxim/grpc,dgquintas/grpc,podsvirov/grpc,vsco/grpc,yang-g/grpc,podsvirov/grpc,stanley-cheung/grpc,donnadionne/grpc,tengyifei/grpc,hstefan/grpc,infinit/grpc,matt-kwong/grpc,vjpai/grpc,miselin/grpc,mehrdada/grpc,nicolasnoble/grpc,dklempner/grpc,ppietrasa/grpc,carl-mastrangelo/grpc,quizlet/grpc,makdharma/grpc,kumaralokgithub/grpc,muxi/grpc,LuminateWireless/grpc,royalharsh/grpc,vjpai/grpc,zhimingxie/grpc,matt-kwong/grpc,pszemus/grpc,adelez/grpc,yongni/grpc,greasypizza/grpc,ipylypiv/grpc,firebase/grpc,ejona86/grpc,LuminateWireless/grpc,infinit/grpc,vjpai/grpc,jtattermusch/grpc,baylabs/grpc,ananthonline/grpc,msmania/grpc,VcamX/grpc,y-zeng/grpc,simonkuang/grpc,donnadionne/grpc,a-veitch/grpc,adelez/grpc,leifurhauks/grpc,royalharsh/grpc,simonkuang/grpc,tengyifei/grpc,soltanmm-google/grpc,Crevil/grpc,carl-mastrangelo/grpc,VcamX/grpc,firebase/grpc,murgatroid99/grpc,ncteisen/grpc,soltanmm-google/grpc,wcevans/grpc,pmarks-net/grpc,vsco/grpc,yongni/grpc,stanley-cheung/grpc,a11r/grpc,chrisdunelm/grpc,MakMukhi/grpc,yugui/grpc,daniel-j-born/grpc,fuchsia-mirror/third_party-grpc,murgatroid99/grpc,a-veitch/grpc,rjshade/grpc,chrisdunelm/grpc,rjshade/grpc,matt-kwong/grpc,murgatroid99/grpc,pmarks-net/grpc,greasypizza/grpc,yongni/grpc,perumaalgoog/grpc,muxi/grpc,mehrdada/grpc,baylabs/grpc,fuchsia-mirror/third_party-grpc,jtattermusch/grpc,royalharsh/grpc,daniel-j-born/grpc,royalharsh/grpc,Crevil/grpc,jboeuf/grpc,y-zeng/grpc,ananthonline/grpc,fuchsia-mirror/third_party-grpc,dklempner/grpc,andrewpollock/grpc,grpc/grpc,donnadionne/grpc,simonkuang/grpc,daniel-j-born/grpc,jboeuf/grpc,dgquintas/grpc,yang-g/grpc,VcamX/grpc,bogdandrutu/grpc,zhimingxie/grpc,pszemus/grpc,grpc/grpc,mehrdada/grpc,jtattermusch/grpc,ctiller/grpc,pszemus/grpc,kumaralokgithub/grpc,pmarks-net/grpc,miselin/grpc,7anner/grpc,daniel-j-born/grpc,chrisdunelm/grpc,chrisdunelm/grpc,bogdandrutu/grpc,ctiller/grpc,jcanizales/grpc,daniel-j-born/grpc,geffzhang/grpc,ctiller/grpc,makdharma/grpc,hstefan/grpc,LuminateWireless/grpc,mehrdada/grpc,LuminateWireless/grpc,nicolasnoble/grpc,arkmaxim/grpc,apolcyn/grpc,grpc/grpc,donnadionne/grpc,greasypizza/grpc,andrewpollock/grpc,pszemus/grpc,carl-mastrangelo/grpc,zhimingxie/grpc,podsvirov/grpc,malexzx/grpc,leifurhauks/grpc,greasypizza/grpc,malexzx/grpc,philcleveland/grpc,murgatroid99/grpc,nicolasnoble/grpc,sreecha/grpc,thinkerou/grpc,jcanizales/grpc,baylabs/grpc,nicolasnoble/grpc,PeterFaiman/ruby-grpc-minimal,stanley-cheung/grpc,PeterFaiman/ruby-grpc-minimal,kpayson64/grpc,pmarks-net/grpc,pszemus/grpc,yugui/grpc,tengyifei/grpc,apolcyn/grpc,wcevans/grpc,ctiller/grpc,adelez/grpc,fuchsia-mirror/third_party-grpc,stanley-cheung/grpc,pszemus/grpc,leifurhauks/grpc,firebase/grpc,ppietrasa/grpc,kpayson64/grpc,msmania/grpc,ctiller/grpc,rjshade/grpc,muxi/grpc,ananthonline/grpc,dgquintas/grpc,jtattermusch/grpc,rjshade/grpc,thinkerou/grpc,Crevil/grpc,sreecha/grpc,ipylypiv/grpc,Vizerai/grpc,kumaralokgithub/grpc,Vizerai/grpc,dgquintas/grpc,ananthonline/grpc,podsvirov/grpc,vjpai/grpc,jtattermusch/grpc,thunderboltsid/grpc,thinkerou/grpc,LuminateWireless/grpc,podsvirov/grpc,ejona86/grpc,VcamX/grpc,ppietrasa/grpc,thinkerou/grpc,ncteisen/grpc,Vizerai/grpc,MakMukhi/grpc,yugui/grpc,zhimingxie/grpc,arkmaxim/grpc,chrisdunelm/grpc,thunderboltsid/grpc,bogdandrutu/grpc,matt-kwong/grpc,yang-g/grpc,jboeuf/grpc,a11r/grpc,dgquintas/grpc,kpayson64/grpc,ppietrasa/grpc,ctiller/grpc,soltanmm/grpc,jboeuf/grpc,ctiller/grpc,jboeuf/grpc,vsco/grpc,mehrdada/grpc,PeterFaiman/ruby-grpc-minimal,MakMukhi/grpc,msmania/grpc,rjshade/grpc,a11r/grpc,ctiller/grpc,msmania/grpc,infinit/grpc,thunderboltsid/grpc,pmarks-net/grpc,kriswuollett/grpc,grani/grpc,firebase/grpc,stanley-cheung/grpc,donnadionne/grpc,thinkerou/grpc,VcamX/grpc,ctiller/grpc,pszemus/grpc,quizlet/grpc,royalharsh/grpc,tengyifei/grpc,greasypizza/grpc,grpc/grpc,yang-g/grpc,ananthonline/grpc,chrisdunelm/grpc,deepaklukose/grpc,carl-mastrangelo/grpc,bogdandrutu/grpc,kriswuollett/grpc,fuchsia-mirror/third_party-grpc,soltanmm/grpc,grani/grpc,mehrdada/grpc,a11r/grpc,zhimingxie/grpc,vjpai/grpc,yang-g/grpc,philcleveland/grpc,muxi/grpc,murgatroid99/grpc,deepaklukose/grpc,perumaalgoog/grpc,geffzhang/grpc,kpayson64/grpc,geffzhang/grpc,hstefan/grpc,muxi/grpc,infinit/grpc,makdharma/grpc,kriswuollett/grpc,simonkuang/grpc,thunderboltsid/grpc,vjpai/grpc,a11r/grpc,leifurhauks/grpc,murgatroid99/grpc,MakMukhi/grpc,deepaklukose/grpc,ipylypiv/grpc,vjpai/grpc,PeterFaiman/ruby-grpc-minimal,yang-g/grpc,murgatroid99/grpc,Crevil/grpc,jtattermusch/grpc,yugui/grpc,andrewpollock/grpc,adelez/grpc,greasypizza/grpc,ipylypiv/grpc,firebase/grpc,nicolasnoble/grpc,LuminateWireless/grpc,deepaklukose/grpc,bogdandrutu/grpc,makdharma/grpc,dgquintas/grpc,yugui/grpc,Vizerai/grpc,apolcyn/grpc,MakMukhi/grpc,firebase/grpc,kriswuollett/grpc,podsvirov/grpc,kskalski/grpc,muxi/grpc,geffzhang/grpc,goldenbull/grpc,carl-mastrangelo/grpc,murgatroid99/grpc,ncteisen/grpc,thunderboltsid/grpc,jcanizales/grpc,sreecha/grpc,andrewpollock/grpc,fuchsia-mirror/third_party-grpc,tengyifei/grpc,LuminateWireless/grpc,malexzx/grpc,Vizerai/grpc,muxi/grpc,goldenbull/grpc,MakMukhi/grpc,nicolasnoble/grpc,bogdandrutu/grpc,y-zeng/grpc,adelez/grpc,carl-mastrangelo/grpc,chrisdunelm/grpc,vjpai/grpc,7anner/grpc,kskalski/grpc,carl-mastrangelo/grpc,kriswuollett/grpc,zhimingxie/grpc,firebase/grpc,firebase/grpc,soltanmm/grpc,bogdandrutu/grpc,mehrdada/grpc,vsco/grpc,geffzhang/grpc,adelez/grpc,philcleveland/grpc,PeterFaiman/ruby-grpc-minimal,muxi/grpc,apolcyn/grpc,kpayson64/grpc,LuminateWireless/grpc,kumaralokgithub/grpc,grpc/grpc,ppietrasa/grpc,simonkuang/grpc,deepaklukose/grpc,nicolasnoble/grpc,royalharsh/grpc,goldenbull/grpc,wcevans/grpc,adelez/grpc,yongni/grpc,perumaalgoog/grpc,dgquintas/grpc,quizlet/grpc,ejona86/grpc,sreecha/grpc,bogdandrutu/grpc,fuchsia-mirror/third_party-grpc,a-veitch/grpc,royalharsh/grpc,VcamX/grpc,PeterFaiman/ruby-grpc-minimal,thinkerou/grpc,MakMukhi/grpc,muxi/grpc,soltanmm/grpc,donnadionne/grpc,y-zeng/grpc,grani/grpc,VcamX/grpc,sreecha/grpc,soltanmm-google/grpc,adelez/grpc,nicolasnoble/grpc,daniel-j-born/grpc,grpc/grpc,jtattermusch/grpc,jboeuf/grpc,wcevans/grpc,jcanizales/grpc,makdharma/grpc,dgquintas/grpc,ejona86/grpc,jtattermusch/grpc,Crevil/grpc,grpc/grpc,baylabs/grpc,perumaalgoog/grpc,ppietrasa/grpc,leifurhauks/grpc,arkmaxim/grpc,murgatroid99/grpc,sreecha/grpc,donnadionne/grpc,ncteisen/grpc,yugui/grpc,dklempner/grpc,jcanizales/grpc,quizlet/grpc,VcamX/grpc,infinit/grpc,chrisdunelm/grpc,soltanmm/grpc,dklempner/grpc,pmarks-net/grpc,chrisdunelm/grpc,fuchsia-mirror/third_party-grpc,donnadionne/grpc,ipylypiv/grpc,jcanizales/grpc,rjshade/grpc,perumaalgoog/grpc,quizlet/grpc,greasypizza/grpc,ipylypiv/grpc,a-veitch/grpc,kriswuollett/grpc,yugui/grpc,miselin/grpc,stanley-cheung/grpc,deepaklukose/grpc,wcevans/grpc,daniel-j-born/grpc,perumaalgoog/grpc,tengyifei/grpc,carl-mastrangelo/grpc