rollup merge of #19859: alexcrichton/flaky-test
rollup merge of #19859: alexcrichton/flaky-test

This test would read with a timeout and then send a UDP message, expecting the
message to be received. The receiving port, however, was bound in the child
thread so it could be the case that the timeout and send happens before the
child thread runs. To remedy this we just bind the port before the child thread
runs, moving it into the child later on.

cc #19120

robertg/rust,ejjeong/rust,zubron/rust,jroesch/rust,avdi/rust,l0kod/rust,miniupnp/rust,pelmers/rust,jashank/rust,XMPPwocky/rust,robertg/rust,GBGamer/rust,vhbit/rust,kwantam/rust,carols10cents/rust,TheNeikos/rust,ejjeong/rust,andars/rust,cllns/rust,XMPPwocky/rust,aneeshusa/rust,defuz/rust,gifnksm/rust,omasanori/rust,graydon/rust,aepsil0n/rust,robertg/rust,l0kod/rust,miniupnp/rust,kwantam/rust,ktossell/rust,jashank/rust,graydon/rust,miniupnp/rust,seanrivera/rust,avdi/rust,GBGamer/rust,miniupnp/rust,kwantam/rust,victorvde/rust,aneeshusa/rust,jashank/rust,AerialX/rust-rt-minimal,pshc/rust,ruud-v-a/rust,rprichard/rust,kimroen/rust,aidancully/rust,zubron/rust,philyoon/rust,pshc/rust,aepsil0n/rust,KokaKiwi/rust,GBGamer/rust,KokaKiwi/rust,bombless/rust,XMPPwocky/rust,ebfull/rust,l0kod/rust,richo/rust,AerialX/rust,AerialX/rust-rt-minimal,robertg/rust,reem/rust,mihneadb/rust,richo/rust,dwillmer/rust,andars/rust,gifnksm/rust,kimroen/rust,bombless/rust,mihneadb/rust,vhbit/rust,philyoon/rust,TheNeikos/rust,miniupnp/rust,richo/rust,rohitjoshi/rust,XMPPwocky/rust,omasanori/rust,vhbit/rust,untitaker/rust,cllns/rust,hauleth/rust,dinfuehr/rust,hauleth/rust,vhbit/rust,jashank/rust,reem/rust,victorvde/rust,dinfuehr/rust,carols10cents/rust,defuz/rust,zachwick/rust,jroesch/rust,nwin/rust,zubron/rust,untitaker/rust,richo/rust,ktossell/rust,sae-bom/rust,defuz/rust,kimroen/rust,dwillmer/rust,jroesch/rust,zubron/rust,zachwick/rust,pelmers/rust,ebfull/rust,graydon/rust,philyoon/rust,rprichard/rust,carols10cents/rust,aidancully/rust,untitaker/rust,hauleth/rust,rprichard/rust,robertg/rust,nwin/rust,dwillmer/rust,jroesch/rust,mvdnes/rust,cllns/rust,carols10cents/rust,ruud-v-a/rust,jroesch/rust,KokaKiwi/rust,avdi/rust,mdinger/rust,untitaker/rust,mihneadb/rust,AerialX/rust-rt-minimal,AerialX/rust-rt-minimal,cllns/rust,bombless/rust,andars/rust,victorvde/rust,GBGamer/rust,untitaker/rust,krzysz00/rust,miniupnp/rust,zubron/rust,dwillmer/rust,mvdnes/rust,sae-bom/rust,seanrivera/rust,bombless/rust,zubron/rust,pshc/rust,ktossell/rust,carols10cents/rust,GBGamer/rust,jroesch/rust,defuz/rust,aneeshusa/rust,ktossell/rust,jashank/rust,victorvde/rust,ruud-v-a/rust,dinfuehr/rust,ruud-v-a/rust,ejjeong/rust,bombless/rust,vhbit/rust,kimroen/rust,mihneadb/rust,hauleth/rust,gifnksm/rust,defuz/rust,sae-bom/rust,seanrivera/rust,aidancully/rust,zaeleus/rust,andars/rust,ktossell/rust,jashank/rust,dwillmer/rust,krzysz00/rust,seanrivera/rust,zachwick/rust,rprichard/rust,l0kod/rust,zubron/rust,GBGamer/rust,aidancully/rust,nwin/rust,sae-bom/rust,ruud-v-a/rust,mahkoh/rust,omasanori/rust,vhbit/rust,pelmers/rust,kimroen/rust,XMPPwocky/rust,victorvde/rust,mahkoh/rust,mahkoh/rust,bombless/rust-docs-chinese,zaeleus/rust,reem/rust,l0kod/rust,ejjeong/rust,kwantam/rust,pshc/rust,nwin/rust,kimroen/rust,andars/rust,dinfuehr/rust,jroesch/rust,mvdnes/rust,philyoon/rust,aidancully/rust,rohitjoshi/rust,vhbit/rust,krzysz00/rust,sae-bom/rust,gifnksm/rust,TheNeikos/rust,KokaKiwi/rust,rprichard/rust,mdinger/rust,omasanori/rust,ebfull/rust,TheNeikos/rust,mihneadb/rust,seanrivera/rust,ebfull/rust,AerialX/rust,zachwick/rust,AerialX/rust,AerialX/rust,philyoon/rust,dinfuehr/rust,GBGamer/rust,krzysz00/rust,seanrivera/rust,l0kod/rust,zachwick/rust,TheNeikos/rust,ebfull/rust,defuz/rust,jashank/rust,nwin/rust,pshc/rust,zaeleus/rust,KokaKiwi/rust,pshc/rust,aepsil0n/rust,nwin/rust,aidancully/rust,mdinger/rust,TheNeikos/rust,jroesch/rust,XMPPwocky/rust,AerialX/rust,dinfuehr/rust,AerialX/rust,andars/rust,sae-bom/rust,aepsil0n/rust,graydon/rust,ktossell/rust,avdi/rust,mvdnes/rust,gifnksm/rust,aneeshusa/rust,l0kod/rust,cllns/rust,kimroen/rust,AerialX/rust-rt-minimal,ebfull/rust,vhbit/rust,robertg/rust,carols10cents/rust,rohitjoshi/rust,rohitjoshi/rust,zaeleus/rust,miniupnp/rust,miniupnp/rust,zachwick/rust,kwantam/rust,ejjeong/rust,ruud-v-a/rust,krzysz00/rust,dwillmer/rust,krzysz00/rust,dwillmer/rust,rohitjoshi/rust,reem/rust,GBGamer/rust,avdi/rust,rprichard/rust,bombless/rust,omasanori/rust,aneeshusa/rust,reem/rust,aneeshusa/rust,dwillmer/rust,mvdnes/rust,mdinger/rust,mahkoh/rust,mdinger/rust,KokaKiwi/rust,ktossell/rust,mahkoh/rust,mdinger/rust,aepsil0n/rust,richo/rust,pelmers/rust,l0kod/rust,zubron/rust,pshc/rust,hauleth/rust,ejjeong/rust,aepsil0n/rust,jashank/rust,graydon/rust,mahkoh/rust,avdi/rust,graydon/rust,mihneadb/rust,omasanori/rust,pelmers/rust,pshc/rust,pelmers/rust,reem/rust,rohitjoshi/rust,kwantam/rust,victorvde/rust,zaeleus/rust,gifnksm/rust,hauleth/rust,philyoon/rust,untitaker/rust,mvdnes/rust,nwin/rust,zaeleus/rust,AerialX/rust-rt-minimal,cllns/rust,nwin/rust,richo/rust