Fix a race in CacheTest
Fix a race in CacheTest

Reviewed By: bobyangyf

shipit-source-id: 37b9a42018

JoelMarcey/buck,kageiit/buck,Addepar/buck,nguyentruongtho/buck,nguyentruongtho/buck,nguyentruongtho/buck,zpao/buck,facebook/buck,facebook/buck,zpao/buck,zpao/buck,Addepar/buck,facebook/buck,JoelMarcey/buck,JoelMarcey/buck,facebook/buck,kageiit/buck,Addepar/buck,facebook/buck,Addepar/buck,Addepar/buck,Addepar/buck,JoelMarcey/buck,JoelMarcey/buck,JoelMarcey/buck,JoelMarcey/buck,Addepar/buck,JoelMarcey/buck,JoelMarcey/buck,Addepar/buck,zpao/buck,nguyentruongtho/buck,Addepar/buck,kageiit/buck,JoelMarcey/buck,Addepar/buck,kageiit/buck,Addepar/buck,JoelMarcey/buck,zpao/buck,nguyentruongtho/buck,Addepar/buck,Addepar/buck,nguyentruongtho/buck,kageiit/buck,JoelMarcey/buck,kageiit/buck,facebook/buck,zpao/buck,JoelMarcey/buck,nguyentruongtho/buck,facebook/buck,zpao/buck,kageiit/buck