vtgate: fix defective test
vtgate: fix defective test

TestResolverExecBatchAsTransaction was incorrect. The test was
passing because it was not checking for the correct error codes.

mapbased/vitess,yangzhongj/vitess,mapbased/vitess,fengshao0907/vitess,davygeek/vitess,tinyspeck/vitess,mattharden/vitess,xgwubin/vitess,guokeno0/vitess,kuipertan/vitess,enisoc/vitess,tjyang/vitess,tjyang/vitess,enisoc/vitess,aaijazi/vitess,mahak/vitess,cgvarela/vitess,yangzhongj/vitess,rnavarro/vitess,yaoshengzhe/vitess,dcadevil/vitess,cgvarela/vitess,tirsen/vitess,pivanof/vitess,tjyang/vitess,erzel/vitess,ptomasroos/vitess,tinyspeck/vitess,tinyspeck/vitess,guokeno0/vitess,sougou/vitess,mattharden/vitess,aaijazi/vitess,erzel/vitess,AndyDiamondstein/vitess,erzel/vitess,mahak/vitess,mahak/vitess,guokeno0/vitess,pivanof/vitess,AndyDiamondstein/vitess,mattharden/vitess,vitessio/vitess,yangzhongj/vitess,pivanof/vitess,ptomasroos/vitess,HubSpot/vitess,xgwubin/vitess,pivanof/vitess,rnavarro/vitess,kuipertan/vitess,cloudbearings/vitess,xgwubin/vitess,applift/vitess,sougou/vitess,rnavarro/vitess,fengshao0907/vitess,erzel/vitess,tirsen/vitess,yaoshengzhe/vitess,kuipertan/vitess,yangzhongj/vitess,fengshao0907/vitess,davygeek/vitess,atyenoria/vitess,cloudbearings/vitess,yaoshengzhe/vitess,xgwubin/vitess,mapbased/vitess,mapbased/vitess,yaoshengzhe/vitess,alainjobart/vitess,mapbased/vitess,davygeek/vitess,cgvarela/vitess,davygeek/vitess,rnavarro/vitess,dumbunny/vitess,tjyang/vitess,HubSpot/vitess,xgwubin/vitess,tinyspeck/vitess,yangzhongj/vitess,pivanof/vitess,ptomasroos/vitess,AndyDiamondstein/vitess,dumbunny/vitess,yaoshengzhe/vitess,AndyDiamondstein/vitess,HubSpot/vitess,aaijazi/vitess,ptomasroos/vitess,mattharden/vitess,alainjobart/vitess,kuipertan/vitess,tjyang/vitess,atyenoria/vitess,dumbunny/vitess,dumbunny/vitess,erzel/vitess,atyenoria/vitess,dumbunny/vitess,alainjobart/vitess,HubSpot/vitess,aaijazi/vitess,guokeno0/vitess,yangzhongj/vitess,ptomasroos/vitess,vitessio/vitess,nurblieh/vitess,tirsen/vitess,tirsen/vitess,kuipertan/vitess,AndyDiamondstein/vitess,vitessio/vitess,nurblieh/vitess,pivanof/vitess,yaoshengzhe/vitess,cloudbearings/vitess,tjyang/vitess,vitessio/vitess,cgvarela/vitess,guokeno0/vitess,applift/vitess,erzel/vitess,tjyang/vitess,cloudbearings/vitess,tirsen/vitess,guokeno0/vitess,applift/vitess,aaijazi/vitess,davygeek/vitess,aaijazi/vitess,tinyspeck/vitess,AndyDiamondstein/vitess,cloudbearings/vitess,mapbased/vitess,tirsen/vitess,nurblieh/vitess,tinyspeck/vitess,davygeek/vitess,mapbased/vitess,AndyDiamondstein/vitess,tirsen/vitess,enisoc/vitess,sougou/vitess,alainjobart/vitess,nurblieh/vitess,dcadevil/vitess,yangzhongj/vitess,guokeno0/vitess,erzel/vitess,HubSpot/vitess,pivanof/vitess,guokeno0/vitess,cloudbearings/vitess,dumbunny/vitess,dumbunny/vitess,ptomasroos/vitess,dcadevil/vitess,cgvarela/vitess,enisoc/vitess,AndyDiamondstein/vitess,nurblieh/vitess,vitessio/vitess,cloudbearings/vitess,erzel/vitess,xgwubin/vitess,nurblieh/vitess,erzel/vitess,rnavarro/vitess,enisoc/vitess,pivanof/vitess,mahak/vitess,rnavarro/vitess,applift/vitess,xgwubin/vitess,cgvarela/vitess,applift/vitess,alainjobart/vitess,nurblieh/vitess,dumbunny/vitess,nurblieh/vitess,mattharden/vitess,sougou/vitess,atyenoria/vitess,atyenoria/vitess,cgvarela/vitess,applift/vitess,erzel/vitess,applift/vitess,mahak/vitess,HubSpot/vitess,sougou/vitess,ptomasroos/vitess,dumbunny/vitess,mahak/vitess,fengshao0907/vitess,aaijazi/vitess,atyenoria/vitess,HubSpot/vitess,dcadevil/vitess,enisoc/vitess,vitessio/vitess,dcadevil/vitess,atyenoria/vitess,pivanof/vitess,dcadevil/vitess,kuipertan/vitess,atyenoria/vitess,sougou/vitess,kuipertan/vitess,rnavarro/vitess,aaijazi/vitess,ptomasroos/vitess,yangzhongj/vitess,guokeno0/vitess,rnavarro/vitess,nurblieh/vitess,yaoshengzhe/vitess,dcadevil/vitess,AndyDiamondstein/vitess,mattharden/vitess,tirsen/vitess,mahak/vitess,mattharden/vitess,alainjobart/vitess,alainjobart/vitess,enisoc/vitess,mattharden/vitess,dumbunny/vitess,cgvarela/vitess,mapbased/vitess,tinyspeck/vitess,cloudbearings/vitess,tjyang/vitess,mapbased/vitess,sougou/vitess,HubSpot/vitess,mattharden/vitess,fengshao0907/vitess,rnavarro/vitess,fengshao0907/vitess,tirsen/vitess,davygeek/vitess,xgwubin/vitess,yangzhongj/vitess,yaoshengzhe/vitess,cloudbearings/vitess,fengshao0907/vitess,applift/vitess,atyenoria/vitess,yaoshengzhe/vitess,fengshao0907/vitess,aaijazi/vitess,ptomasroos/vitess,applift/vitess,vitessio/vitess,alainjobart/vitess,applift/vitess,mahak/vitess,mapbased/vitess,tjyang/vitess,xgwubin/vitess,mattharden/vitess,vitessio/vitess,sougou/vitess,cgvarela/vitess,fengshao0907/vitess,kuipertan/vitess,kuipertan/vitess