Fix race condition in state_machine_test
Fix race condition in state_machine_test

Change-Id: I79b76936cc51f916b7096ffe44482990bf422126

rombie/contrail-controller,eonpatapon/contrail-controller,nischalsheth/contrail-controller,eonpatapon/contrail-controller,hthompson6/contrail-controller,cloudwatt/contrail-controller,facetothefate/contrail-controller,sajuptpm/contrail-controller,DreamLab/contrail-controller,rombie/contrail-controller,reiaaoyama/contrail-controller,facetothefate/contrail-controller,eonpatapon/contrail-controller,rombie/contrail-controller,numansiddique/contrail-controller,reiaaoyama/contrail-controller,cloudwatt/contrail-controller,vmahuli/contrail-controller,tcpcloud/contrail-controller,nischalsheth/contrail-controller,reiaaoyama/contrail-controller,codilime/contrail-controller,tcpcloud/contrail-controller,vpramo/contrail-controller,vmahuli/contrail-controller,tcpcloud/contrail-controller,tcpcloud/contrail-controller,hthompson6/contrail-controller,numansiddique/contrail-controller,srajag/contrail-controller,srajag/contrail-controller,eonpatapon/contrail-controller,srajag/contrail-controller,vpramo/contrail-controller,facetothefate/contrail-controller,eonpatapon/contrail-controller,nischalsheth/contrail-controller,vpramo/contrail-controller,srajag/contrail-controller,numansiddique/contrail-controller,cloudwatt/contrail-controller,eonpatapon/contrail-controller,cloudwatt/contrail-controller,numansiddique/contrail-controller,DreamLab/contrail-controller,nischalsheth/contrail-controller,codilime/contrail-controller,reiaaoyama/contrail-controller,DreamLab/contrail-controller,sajuptpm/contrail-controller,cloudwatt/contrail-controller,codilime/contrail-controller,vmahuli/contrail-controller,codilime/contrail-controller,hthompson6/contrail-controller,hthompson6/contrail-controller,hthompson6/contrail-controller,sajuptpm/contrail-controller,tcpcloud/contrail-controller,vmahuli/contrail-controller,codilime/contrail-controller,numansiddique/contrail-controller,rombie/contrail-controller,facetothefate/contrail-controller,nischalsheth/contrail-controller,vpramo/contrail-controller,vmahuli/contrail-controller,rombie/contrail-controller,srajag/contrail-controller,nischalsheth/contrail-controller,codilime/contrail-controller,DreamLab/contrail-controller,sajuptpm/contrail-controller,facetothefate/contrail-controller,nischalsheth/contrail-controller,tcpcloud/contrail-controller,vpramo/contrail-controller,rombie/contrail-controller,nischalsheth/contrail-controller,reiaaoyama/contrail-controller,rombie/contrail-controller,sajuptpm/contrail-controller,DreamLab/contrail-controller,eonpatapon/contrail-controller,sajuptpm/contrail-controller