Fix deadlock in pd1_test.go
Fix deadlock in pd1_test.go

The defer tx.Rollback() tries to free the queryLock but the defer e.Cleanup() runs
before it and tries to take a write lock on the query lock (which blocks) and prevents
tx.Rollback() from acquring the read lock.

vladlopes/influxdb,mark-rushakoff/influxdb,mark-rushakoff/influxdb,Mindera/influxdb,m4ce/influxdb,bluebreezecf/influxdb,lgpeterson/influxdb,vladlopes/influxdb,nooproblem/influxdb,mark-rushakoff/influxdb,samaitra/influxdb,roobert/influxdb,samaitra/influxdb,jonseymour/influxdb,joaopedrotaveira/influxdb,archsaber/influxdb,otoolep/influxdb,otoolep/influxdb,arussellsaw/influxdb,mvadu/influxdb,benbjohnson/influxdb,bluebreezecf/influxdb,influxdata/influxdb,influxdb/influxdb,runner-mei/influxdb,mre/influxdb,daachi/influxdb,linearb/influxdb,jonseymour/influxdb,jgeiger/influxdb,jipperinbham/influxdb,jgeiger/influxdb,pablolmiranda/influxdb,CVTJNII/influxdb-tjnii,influxdb/influxdb,jipperinbham/influxdb,mark-rushakoff/influxdb,sudabon/influxdb,archsaber/influxdb,bluebreezecf/influxdb,m4ce/influxdb,bluebreezecf/influxdb,arussellsaw/influxdb,nooproblem/influxdb,jgeiger/influxdb,daachi/influxdb,jgeiger/influxdb,linearb/influxdb,pkittenis/influxdb,influxdb/influxdb,li-ang/influxdb,influxdb/influxdb,apigee/influxdb,linearb/influxdb,Mindera/influxdb,jonseymour/influxdb,samaitra/influxdb,pkittenis/influxdb,jipperinbham/influxdb,arussellsaw/influxdb,samaitra/influxdb,samaitra/influxdb,n1tr0g/influxdb,influxdb/influxdb,apigee/influxdb,mnuessler/influxdb,Mindera/influxdb,pkittenis/influxdb,CVTJNII/influxdb-tjnii,mvadu/influxdb,nooproblem/influxdb,sudabon/influxdb,apigee/influxdb,archsaber/influxdb,CVTJNII/influxdb-tjnii,joaopedrotaveira/influxdb,daachi/influxdb,CVTJNII/influxdb-tjnii,roobert/influxdb,influxdb/influxdb,runner-mei/influxdb,nickrobinson/influxdb,chenziliang/influxdb,n1tr0g/influxdb,lgpeterson/influxdb,pkittenis/influxdb,pablolmiranda/influxdb,nickrobinson/influxdb,benbjohnson/influxdb,mnuessler/influxdb,mark-rushakoff/influxdb,pablolmiranda/influxdb,mark-rushakoff/influxdb,CVTJNII/influxdb-tjnii,mre/influxdb,jipperinbham/influxdb,runner-mei/influxdb,m4ce/influxdb,otoolep/influxdb,joaopedrotaveira/influxdb,roobert/influxdb,samaitra/influxdb,joaopedrotaveira/influxdb,linearb/influxdb,sudabon/influxdb,mnuessler/influxdb,apigee/influxdb,otoolep/influxdb,m4ce/influxdb,m4ce/influxdb,sudabon/influxdb,apigee/influxdb,Mindera/influxdb,mvadu/influxdb,arussellsaw/influxdb,vladlopes/influxdb,archsaber/influxdb,arussellsaw/influxdb,jipperinbham/influxdb,vladlopes/influxdb,lgpeterson/influxdb,jonseymour/influxdb,mnuessler/influxdb,mre/influxdb,apigee/influxdb,daachi/influxdb,nooproblem/influxdb,linearb/influxdb,mnuessler/influxdb,n1tr0g/influxdb,jgeiger/influxdb,mnuessler/influxdb,m4ce/influxdb,jipperinbham/influxdb,mre/influxdb,pkittenis/influxdb,benbjohnson/influxdb,lgpeterson/influxdb,mvadu/influxdb,sudabon/influxdb,nooproblem/influxdb,Mindera/influxdb,bluebreezecf/influxdb,nickrobinson/influxdb,Mindera/influxdb,joaopedrotaveira/influxdb,pkittenis/influxdb,pablolmiranda/influxdb,sudabon/influxdb,otoolep/influxdb,jgeiger/influxdb,runner-mei/influxdb,jonseymour/influxdb,daachi/influxdb,benbjohnson/influxdb,influxdata/influxdb,CVTJNII/influxdb-tjnii,chenziliang/influxdb,pablolmiranda/influxdb,chenziliang/influxdb,n1tr0g/influxdb,lgpeterson/influxdb,mvadu/influxdb,jonseymour/influxdb,otoolep/influxdb,arussellsaw/influxdb,roobert/influxdb,n1tr0g/influxdb,mvadu/influxdb,nickrobinson/influxdb,roobert/influxdb,li-ang/influxdb,daachi/influxdb,nickrobinson/influxdb,n1tr0g/influxdb,chenziliang/influxdb,mre/influxdb