wait for elections in kv.createTestDB()
wait for elections in kv.createTestDB()

this could help to avoid the following (rare) flakiness:

txn_coord_sender_test.go:82 local sender did not succeed on two attempts: maximum number of attempts exceeded 2

which I've only seen once, but wasn't easy to track down from the logs.

marcuswestin/cockroach,ngaut/cockroach,sunya123/cockroach,jess-edwards/cockroach,jmank88/cockroach,alex/cockroach,GokulSrinivas/cockroach,jess-edwards/cockroach,cockroachdb/cockroach,c4pt0r/cockroach,es-chow/cockroach,XisiHuang/cockroach,ngaut/cockroach,nkhuyu/cockroach,petermattis/cockroach,SustainFund/cockroach,jamesgraves/cockroach,ngaut/cockroach,jamesgraves/cockroach,nkhuyu/cockroach,petermattis/cockroach,cuongdo/cockroach,vivekmenezes/cockroach,arjun4084346/cockroach,briceburg/cockroach,nieyy/cockroach,briceburg/cockroach,arypurnomoz/cockroach,jess-edwards/cockroach,freakynit/cockroach,mbertschler/cockroach,jgautheron/cockroach,chrisseto/cockroach,freakynit/cockroach,SustainFund/cockroach,vivekmenezes/cockroach,yananzhi/cockroach,mbonaci/cockroach,jgautheron/cockroach,nkhuyu/cockroach,es-chow/cockroach,loucash/cockroach,domluna/cockroach,nkhuyu/cockroach,bg451/cockroach,slavau/cockroach,mbertschler/cockroach,es-chow/cockroach,glycerine/cockroach,maxlang/cockroach,bg451/cockroach,fengshao0907/cockroach,jamesgraves/cockroach,ngaut/cockroach,arjun4084346/cockroach,glycerine/cockroach,yosiat/cockroach,vivekmenezes/cockroach,vivekmenezes/cockroach,briceburg/cockroach,freakynit/cockroach,es-chow/cockroach,chrisseto/cockroach,arypurnomoz/cockroach,ajayaa/cockroach,ajayaa/cockroach,domluna/cockroach,SustainFund/cockroach,yiixiansheng/cockroach,maxlang/cockroach,XisiHuang/cockroach,marcuswestin/cockroach,fengshao0907/cockroach,GokulSrinivas/cockroach,loucash/cockroach,alex/cockroach,alunarbeach/cockroach,abhishekgahlot/cockroach,briceburg/cockroach,yosiat/cockroach,slavau/cockroach,petermattis/cockroach,hassyma/cockroach,vaibhavarora/cockroach,cockroachdb/cockroach,ajayaa/cockroach,cuongdo/cockroach,maxlang/cockroach,bg451/cockroach,iqstack/cockroach,linearb/cockroach,sunya123/cockroach,c4pt0r/cockroach,jess-edwards/cockroach,glycerine/cockroach,ajayaa/cockroach,marcuswestin/cockroach,arypurnomoz/cockroach,GokulSrinivas/cockroach,alunarbeach/cockroach,yiixiansheng/cockroach,alunarbeach/cockroach,alunarbeach/cockroach,cockroachdb/cockroach,nieyy/cockroach,vaibhavarora/cockroach,mbertschler/cockroach,yosiat/cockroach,cockroachdb/cockroach,jamesgraves/cockroach,veteranlu/cockroach,GokulSrinivas/cockroach,nkhuyu/cockroach,arypurnomoz/cockroach,petermattis/cockroach,nieyy/cockroach,yosiat/cockroach,vivekmenezes/cockroach,vaibhavarora/cockroach,ngaut/cockroach,hassyma/cockroach,freakynit/cockroach,vivekmenezes/cockroach,abhishekgahlot/cockroach,yananzhi/cockroach,bg451/cockroach,c4pt0r/cockroach,paperstreet/cockroach,nkhuyu/cockroach,Abioy/cockroach,es-chow/cockroach,paperstreet/cockroach,il9ue/cockroach,veteranlu/cockroach,glycerine/cockroach,domluna/cockroach,es-chow/cockroach,jgautheron/cockroach,cuongdo/cockroach,Abioy/cockroach,iqstack/cockroach,ngaut/cockroach,veteranlu/cockroach,ajayaa/cockroach,il9ue/cockroach,il9ue/cockroach,vaibhavarora/cockroach,marcuswestin/cockroach,freakynit/cockroach,domluna/cockroach,jess-edwards/cockroach,ajayaa/cockroach,maxlang/cockroach,jmank88/cockroach,slavau/cockroach,nieyy/cockroach,vaibhavarora/cockroach,yananzhi/cockroach,vivekmenezes/cockroach,cuongdo/cockroach,slavau/cockroach,abhishekgahlot/cockroach,hassyma/cockroach,jamesgraves/cockroach,glycerine/cockroach,petermattis/cockroach,veteranlu/cockroach,linearb/cockroach,XisiHuang/cockroach,marcuswestin/cockroach,jgautheron/cockroach,cuongdo/cockroach,mbonaci/cockroach,il9ue/cockroach,cockroachdb/cockroach,paperstreet/cockroach,sunya123/cockroach,loucash/cockroach,domluna/cockroach,yiixiansheng/cockroach,Abioy/cockroach,nieyy/cockroach,yananzhi/cockroach,nieyy/cockroach,sunya123/cockroach,jmank88/cockroach,mbonaci/cockroach,jmank88/cockroach,veteranlu/cockroach,abhishekgahlot/cockroach,paperstreet/cockroach,cockroachdb/cockroach,jess-edwards/cockroach,alunarbeach/cockroach,domluna/cockroach,abhishekgahlot/cockroach,vivekmenezes/cockroach,maxlang/cockroach,arjun4084346/cockroach,XisiHuang/cockroach,cuongdo/cockroach,bg451/cockroach,sunya123/cockroach,il9ue/cockroach,yananzhi/cockroach,arjun4084346/cockroach,alex/cockroach,maxlang/cockroach,yosiat/cockroach,chrisseto/cockroach,domluna/cockroach,linearb/cockroach,glycerine/cockroach,yananzhi/cockroach,loucash/cockroach,alex/cockroach,vaibhavarora/cockroach,arjun4084346/cockroach,il9ue/cockroach,Abioy/cockroach,arypurnomoz/cockroach,cuongdo/cockroach,mbertschler/cockroach,Abioy/cockroach,hassyma/cockroach,arjun4084346/cockroach,yananzhi/cockroach,nieyy/cockroach,petermattis/cockroach,yiixiansheng/cockroach,SustainFund/cockroach,vaibhavarora/cockroach,iqstack/cockroach,glycerine/cockroach,cockroachdb/cockroach,veteranlu/cockroach,chrisseto/cockroach,il9ue/cockroach,alex/cockroach,mbonaci/cockroach,alex/cockroach,arjun4084346/cockroach,mbertschler/cockroach,sunya123/cockroach,sunya123/cockroach,bg451/cockroach,cuongdo/cockroach,XisiHuang/cockroach,c4pt0r/cockroach,mbonaci/cockroach,jgautheron/cockroach,yiixiansheng/cockroach,SustainFund/cockroach,iqstack/cockroach,jmank88/cockroach,petermattis/cockroach,chrisseto/cockroach,jamesgraves/cockroach,Abioy/cockroach,iqstack/cockroach,fengshao0907/cockroach,jamesgraves/cockroach,mbonaci/cockroach,iqstack/cockroach,cockroachdb/cockroach,freakynit/cockroach,paperstreet/cockroach,jmank88/cockroach,vaibhavarora/cockroach,marcuswestin/cockroach,veteranlu/cockroach,veteranlu/cockroach,abhishekgahlot/cockroach,arypurnomoz/cockroach,fengshao0907/cockroach,maxlang/cockroach,glycerine/cockroach,linearb/cockroach,bg451/cockroach,nieyy/cockroach,fengshao0907/cockroach,linearb/cockroach,briceburg/cockroach,fengshao0907/cockroach,linearb/cockroach,paperstreet/cockroach,paperstreet/cockroach,hassyma/cockroach,yiixiansheng/cockroach,loucash/cockroach,petermattis/cockroach,GokulSrinivas/cockroach,SustainFund/cockroach,arjun4084346/cockroach,c4pt0r/cockroach,hassyma/cockroach,XisiHuang/cockroach,iqstack/cockroach,marcuswestin/cockroach,il9ue/cockroach,slavau/cockroach,ngaut/cockroach,linearb/cockroach,mbertschler/cockroach,GokulSrinivas/cockroach,c4pt0r/cockroach,briceburg/cockroach,paperstreet/cockroach,jmank88/cockroach,loucash/cockroach,jess-edwards/cockroach,maxlang/cockroach,jgautheron/cockroach,yosiat/cockroach,es-chow/cockroach,alunarbeach/cockroach,sunya123/cockroach,marcuswestin/cockroach,chrisseto/cockroach,mbertschler/cockroach,slavau/cockroach