Fix flaky timer test by using a mock clock.
Fix flaky timer test by using a mock clock.

tdrl/amphtml,zhouyx/amphtml,mkhatib/amphtml,chaveznvg/amphtml,donttrustthisbot/amphtml,criteo-forks/amphtml,adtechnology/amphtml,cory-work/amphtml,adup-tech/amphtml,plista/amphtml,ruturajv-media-net/amphtml,adtechnology/amphtml,jlucero-contentad/amphtml,tlong2/amphtml,yevheniiminin/amphtml,BenDz/amphtml,galeksic/amphtml,DarXector/amphtml,kixer-com/amphtml,ColombiaAnalytics/amphtml,donttrustthisbot/amphtml,DarXector/amphtml,zhouyx/amphtml,jpettitt/amphtml,aghassemi/amphtml,zhangsu/amphtml,prateekbh/amphtml,sortable/amphtml,sortable/amphtml,criteo-forks/amphtml,danielrozenberg/amphtml,src-code/amphtml,alanorozco/amphtml,sklobovskaya/amphtml,JuliusThms/amphtml,yevheniiminin/amphtml,BrightcoveOS/amphtml,sharethrough/amphtml,pietergreyling/amphtml,lzanol/amphtml,yevheniiminin/amphtml,chaveznvg/amphtml,interspacejp/amphtml,Mobusi-ads/amphtml,prateekbh/amphtml,rifler/amphtml,mhc-gh/amphtml,gumgum/amphtml,sharethrough/amphtml,ericlindley-g/amphtml,clawr/amphtml,DAC-f1h-dev/amphtml,cvializ/amphtml,avimehta/amphtml,engtat/amphtml,Mixpo/amphtml,zhangsu/amphtml,lzanol/amphtml,Gregable/amphtml,mlb7687/amphtml,sriramkrish85/amphtml,AaronCritchley/amphtml,DarXector/amphtml,JuliusThms/amphtml,widespace-os/amphtml,fullspeed-sp/amphtml,zhucl/amphtml,erwinmombay/amphtml,cory-work/amphtml,kixer-com/amphtml,sklobovskaya/amphtml,media-net/amphtml,jpettitt/amphtml,loic-seguin/amphtml,JuliusThms/amphtml,BrightcoveOS/amphtml,voyagegroup/amphtml,zhangsu/amphtml,dotandads/amphtml,honeybadgerdontcare/amphtml,kamtschatka/amphtml,ruturajv-media-net/amphtml,rlugojr/amphtml,aghassemi/amphtml,voyagegroup/amphtml,mkhatib/amphtml,spotxchange/amphtml,adup-tech/amphtml,shawnbuso/amphtml,tlong2/amphtml,Adtoma/amphtml,dvoytenko/amphtml,techhtml/amphtml,BenDz/amphtml,dotandads/amphtml,widespace-os/amphtml,DarXector/amphtml,rifler/amphtml,kmh287/amphtml,ithinkihaveacat/amphtml,Mixpo/amphtml,BrightcoveOS/amphtml,koshka/amphtml,JuliusThms/amphtml,mlb7687/amphtml,widespace-os/amphtml,sklobovskaya/amphtml,wjfang/amphtml,prateekbh/amphtml,prateekbh/amphtml,fullspeed-sp/amphtml,luciancrasovan/amphtml,ampproject/amphtml,bpaduch/amphtml,jlucero-contentad/amphtml,dotandads/amphtml,sriramkrish85/amphtml,wjfang/amphtml,zhouyx/amphtml,taboola/amphtml,criteo-forks/amphtml,src-code/amphtml,danielrozenberg/amphtml,loic-seguin/amphtml,pedjoni8/amphtml,widespace-os/amphtml,ruturajv-media-net/amphtml,loic-seguin/amphtml,BenDz/amphtml,rlugojr/amphtml,gumgum/amphtml,pietergreyling/amphtml,gumgum/amphtml,shawnbuso/amphtml,aghassemi/amphtml,adup-tech/amphtml,erwinmombay/amphtml,dotandads/amphtml,adiant/amphtml,DistroScale/amphtml,AaronCritchley/amphtml,jasti/amphtml,shawnbuso/amphtml,widespace-os/amphtml,sebastianbenz/amphtml,tlong2/amphtml,rsimha-amp/amphtml,zhucl/amphtml,smartadserver/amphtml,kmh287/amphtml,sharethrough/amphtml,gumgum/amphtml,amoad-amoe/amphtml,sklobovskaya/amphtml,adup-tech/amphtml,media-net/amphtml,interspacejp/amphtml,zhucl/amphtml,smartadserver/amphtml,Mobusi-ads/amphtml,nexxtv/amphtml,jmadler/amphtml,DAC-f1h-dev/amphtml,lannka/amphtml,galeksic/amphtml,jdelhommeau/amphtml,amoad-amoe/amphtml,simplereach/amphtml,rlugojr/amphtml,devjsun/amphtml,yieldbot/amphtml,donttrustthisbot/amphtml,clawr/amphtml,camelburrito/amphtml,pietergreyling/amphtml,yieldbot/amphtml,zhucl/amphtml,kmh287/amphtml,keithwrightbos/amphtml,Re-lM/amphtml,taboola/amphtml,dvoytenko/amphtml,galeksic/amphtml,jridgewell/amphtml,rajkumarsrk/amphtml,sortable/amphtml,cvializ/amphtml,ecoron/amphtml,Lith/amphtml,mkhatib/amphtml,avimehta/amphtml,jasti/amphtml,comScore/amphtml,luciancrasovan/amphtml,interspacejp/amphtml,Adtoma/amphtml,ithinkihaveacat/amphtml,kixer-com/amphtml,jdelhommeau/amphtml,lannka/amphtml,sklobovskaya/amphtml,plista/amphtml,chaveznvg/amphtml,adiant/amphtml,Mixpo/amphtml,kmh287/amphtml,dvoytenko/amphtml,rajkumarsrk/amphtml,Re-lM/amphtml,engtat/amphtml,NataliaLKB/amphtml,donttrustthisbot/amphtml,jasti/amphtml,yandex-pcode/amphtml,adtechnology/amphtml,honeybadgerdontcare/amphtml,Mixpo/amphtml,nathangoulding/amphtml,rlugojr/amphtml,burtcorp/amphtml,pedjoni8/amphtml,sebastianbenz/amphtml,devjsun/amphtml,rajkumarsrk/amphtml,donttrustthisbot/amphtml,koshka/amphtml,avimehta/amphtml,engtat/amphtml,koshka/amphtml,clawr/amphtml,koshka/amphtml,mhc-gh/amphtml,sriramkrish85/amphtml,DistroScale/amphtml,rsimha-amp/amphtml,jridgewell/amphtml,honeybadgerdontcare/amphtml,nexxtv/amphtml,media-net/amphtml,techhtml/amphtml,kamtschatka/amphtml,kixer-com/amphtml,adtechnology/amphtml,ericlindley-g/amphtml,avimehta/amphtml,engtat/amphtml,mhc-gh/amphtml,wjfang/amphtml,powdercloud/amphtml,tlong2/amphtml,koshka/amphtml,chaveznvg/amphtml,NataliaLKB/amphtml,amoad-amoe/amphtml,rsimha-amp/amphtml,ampproject/amphtml,Re-lM/amphtml,BenDz/amphtml,NataliaLKB/amphtml,yevheniiminin/amphtml,camelburrito/amphtml,dvoytenko/amphtml,arealit/amphtml,rsimha-amp/amphtml,jlucero-contentad/amphtml,ampproject/amphtml,britice/amphtml,camelburrito/amphtml,src-code/amphtml,nekodo/amphtml,JuliusThms/amphtml,shawnbuso/amphtml,tdrl/amphtml,pedjoni8/amphtml,gumgum/amphtml,mhc-gh/amphtml,wjfang/amphtml,vmarteev/amphtml,bpaduch/amphtml,mhc-gh/amphtml,lzanol/amphtml,spotxchange/amphtml,yandex-pcode/amphtml,keithwrightbos/amphtml,techhtml/amphtml,nekodo/amphtml,Meggin/amphtml,fullspeed-sp/amphtml,smartadserver/amphtml,jpettitt/amphtml,sklobovskaya/amphtml,spotxchange/amphtml,Meggin/amphtml,AaronCritchley/amphtml,BenDz/amphtml,aghassemi/amphtml,burtcorp/amphtml,wjfang/amphtml,chaveznvg/amphtml,ADITION/amphtml,jmadler/amphtml,erwinmombay/amphtml,jmadler/amphtml,jdelhommeau/amphtml,criteo-forks/amphtml,BrightcoveOS/amphtml,nexxtv/amphtml,sortable/amphtml,jridgewell/amphtml,adiant/amphtml,triplelift/amphtml,interspacejp/amphtml,ecoron/amphtml,rsimha-amp/amphtml,luciancrasovan/amphtml,rajkumarsrk/amphtml,lannka/amphtml,media-net/amphtml,sebastianbenz/amphtml,engtat/amphtml,britice/amphtml,koshka/amphtml,triplelift/amphtml,rifler/amphtml,media-net/amphtml,mlb7687/amphtml,shawnbuso/amphtml,tdrl/amphtml,devjsun/amphtml,devjsun/amphtml,ericlindley-g/amphtml,tlong2/amphtml,plista/amphtml,rsimha-amp/amphtml,yieldmo/amphtml,prateekbh/amphtml,sharethrough/amphtml,Gregable/amphtml,laterpay/amphtml,aghassemi/amphtml,Mobusi-ads/amphtml,cory-work/amphtml,ColombiaAnalytics/amphtml,avimehta/amphtml,rifler/amphtml,BenDz/amphtml-atinternet,luciancrasovan/amphtml,Mixpo/amphtml,ruturajv-media-net/amphtml,kamtschatka/amphtml,alanorozco/amphtml,nathangoulding/amphtml,Adtoma/amphtml,cvializ/amphtml,Mobusi-ads/amphtml,Gregable/amphtml,Lith/amphtml,rlugojr/amphtml,pedjoni8/amphtml,AaronCritchley/amphtml,yieldmo/amphtml,danielrozenberg/amphtml,nexxtv/amphtml,honeybadgerdontcare/amphtml,ampproject/amphtml,triplelift/amphtml,danielrozenberg/amphtml,ADITION/amphtml,mkhatib/amphtml,media-net/amphtml,pedjoni8/amphtml,shawnbuso/amphtml,rifler/amphtml,zhucl/amphtml,BrightcoveOS/amphtml,Gregable/amphtml,ithinkihaveacat/amphtml,Meggin/amphtml,nexxtv/amphtml,NataliaLKB/amphtml,nathangoulding/amphtml,DistroScale/amphtml,yieldmo/amphtml,luciancrasovan/amphtml,comScore/amphtml,cvializ/amphtml,interspacejp/amphtml,ericlindley-g/amphtml,arealit/amphtml,zhucl/amphtml,luciancrasovan/amphtml,clawr/amphtml,techhtml/amphtml,ADITION/amphtml,yandex-pcode/amphtml,cvializ/amphtml,devjsun/amphtml,burtcorp/amphtml,rifler/amphtml,arealit/amphtml,sriramkrish85/amphtml,cory-work/amphtml,zhangsu/amphtml,zhouyx/amphtml,tlong2/amphtml,Gregable/amphtml,erwinmombay/amphtml,DistroScale/amphtml,yieldbot/amphtml,tdrl/amphtml,camelburrito/amphtml,voyagegroup/amphtml,rajkumarsrk/amphtml,Adtoma/amphtml,ColombiaAnalytics/amphtml,yandex-pcode/amphtml,vmarteev/amphtml,DAC-f1h-dev/amphtml,DAC-f1h-dev/amphtml,powdercloud/amphtml,jlucero-contentad/amphtml,kixer-com/amphtml,kamtschatka/amphtml,spotxchange/amphtml,britice/amphtml,jdelhommeau/amphtml,taboola/amphtml,DarXector/amphtml,BrightcoveOS/amphtml,jridgewell/amphtml,pietergreyling/amphtml,bpaduch/amphtml,adiant/amphtml,yevheniiminin/amphtml,yandex-pcode/amphtml,smartadserver/amphtml,comScore/amphtml,src-code/amphtml,Adtoma/amphtml,media-net/amphtml,triplelift/amphtml,jridgewell/amphtml,nexxtv/amphtml,jasti/amphtml,sortable/amphtml,danielrozenberg/amphtml,cory-work/amphtml,ecoron/amphtml,keithwrightbos/amphtml,sebastianbenz/amphtml,mkhatib/amphtml,camelburrito/amphtml,tdrl/amphtml,DistroScale/amphtml,fullspeed-sp/amphtml,criteo-forks/amphtml,comScore/amphtml,taboola/amphtml,Lith/amphtml,bpaduch/amphtml,bpaduch/amphtml,ecoron/amphtml,DAC-f1h-dev/amphtml,nexxtv/amphtml,burtcorp/amphtml,yandex-pcode/amphtml,jmadler/amphtml,camelburrito/amphtml,fullspeed-sp/amphtml,simplereach/amphtml,pietergreyling/amphtml,mlb7687/amphtml,sriramkrish85/amphtml,burtcorp/amphtml,jlucero-contentad/amphtml,jpettitt/amphtml,prateekbh/amphtml,vmarteev/amphtml,simplereach/amphtml,fullspeed-sp/amphtml,alanorozco/amphtml,keithwrightbos/amphtml,voyagegroup/amphtml,amoad-amoe/amphtml,jmadler/amphtml,laterpay/amphtml,zhangsu/amphtml,mlb7687/amphtml,jasti/amphtml,media-net/amphtml,adtechnology/amphtml,keithwrightbos/amphtml,comScore/amphtml,alanorozco/amphtml,cory-work/amphtml,amoad-amoe/amphtml,sortable/amphtml,mlb7687/amphtml,yieldmo/amphtml,kixer-com/amphtml,burtcorp/amphtml,sklobovskaya/amphtml,Mobusi-ads/amphtml,laterpay/amphtml,jridgewell/amphtml,rlugojr/amphtml,laterpay/amphtml,jpettitt/amphtml,yieldbot/amphtml,mhc-gh/amphtml,clawr/amphtml,sebastianbenz/amphtml,laterpay/amphtml,smartadserver/amphtml,dotandads/amphtml,jpettitt/amphtml,powdercloud/amphtml,engtat/amphtml,avimehta/amphtml,zhangsu/amphtml,voyagegroup/amphtml,techhtml/amphtml,engtat/amphtml,kmh287/amphtml,sharethrough/amphtml,clawr/amphtml,kixer-com/amphtml,bpaduch/amphtml,Lith/amphtml,mhc-gh/amphtml,honeybadgerdontcare/amphtml,ampproject/amphtml,yieldbot/amphtml,JuliusThms/amphtml,honeybadgerdontcare/amphtml,alanorozco/amphtml,nathangoulding/amphtml,DistroScale/amphtml,Gregable/amphtml,ericlindley-g/amphtml,gumgum/amphtml,vmarteev/amphtml,ColombiaAnalytics/amphtml,ericlindley-g/amphtml,prateekbh/amphtml,taboola/amphtml,criteo-forks/amphtml,pedjoni8/amphtml,sharethrough/amphtml,danielrozenberg/amphtml,erwinmombay/amphtml,lzanol/amphtml,lzanol/amphtml,yieldmo/amphtml,adiant/amphtml,smartadserver/amphtml,aghassemi/amphtml,mkhatib/amphtml,wjfang/amphtml,BenDz/amphtml-atinternet,ruturajv-media-net/amphtml,shawnbuso/amphtml,jlucero-contentad/amphtml,dotandads/amphtml,jasti/amphtml,Lith/amphtml,alanorozco/amphtml,vmarteev/amphtml,powdercloud/amphtml,adiant/amphtml,kmh287/amphtml,lannka/amphtml,devjsun/amphtml,amoad-amoe/amphtml,powdercloud/amphtml,interspacejp/amphtml,jdelhommeau/amphtml,dvoytenko/amphtml,triplelift/amphtml,ADITION/amphtml,adtechnology/amphtml,lannka/amphtml,britice/amphtml,kamtschatka/amphtml,yieldbot/amphtml,wjfang/amphtml,loic-seguin/amphtml,BenDz/amphtml,DarXector/amphtml,techhtml/amphtml,alanorozco/amphtml,dvoytenko/amphtml,chaveznvg/amphtml,luciancrasovan/amphtml,Gregable/amphtml,triplelift/amphtml,mhc-gh/amphtml,sriramkrish85/amphtml,danielrozenberg/amphtml,ecoron/amphtml,lannka/amphtml,sebastianbenz/amphtml,ampproject/amphtml,honeybadgerdontcare/amphtml,rajkumarsrk/amphtml,adup-tech/amphtml,comScore/amphtml,keithwrightbos/amphtml,spotxchange/amphtml,adiant/amphtml,Mobusi-ads/amphtml,comScore/amphtml,ampproject/amphtml,src-code/amphtml,Gregable/amphtml,jpettitt/amphtml,yieldmo/amphtml,clawr/amphtml,vmarteev/amphtml,nekodo/amphtml,donttrustthisbot/amphtml,tdrl/amphtml,rajkumarsrk/amphtml,gumgum/amphtml,yevheniiminin/amphtml,kamtschatka/amphtml,keithwrightbos/amphtml,vmarteev/amphtml,donttrustthisbot/amphtml,camelburrito/amphtml,bpaduch/amphtml,plista/amphtml,arealit/amphtml,src-code/amphtml,BenDz/amphtml-atinternet,laterpay/amphtml,jmadler/amphtml,ithinkihaveacat/amphtml,zhucl/amphtml,voyagegroup/amphtml,yandex-pcode/amphtml,zhouyx/amphtml,zhouyx/amphtml,arealit/amphtml,ampproject/amphtml,cvializ/amphtml,Re-lM/amphtml,DAC-f1h-dev/amphtml,cory-work/amphtml,jdelhommeau/amphtml,galeksic/amphtml,danielrozenberg/amphtml,jpettitt/amphtml,taboola/amphtml,yieldmo/amphtml,powdercloud/amphtml,AaronCritchley/amphtml,taboola/amphtml,nekodo/amphtml,ruturajv-media-net/amphtml,lannka/amphtml,galeksic/amphtml,alanorozco/amphtml,arealit/amphtml,jridgewell/amphtml,powdercloud/amphtml,adup-tech/amphtml,ecoron/amphtml,ADITION/amphtml,rsimha-amp/amphtml,Mixpo/amphtml,arealit/amphtml,Adtoma/amphtml,pietergreyling/amphtml,spotxchange/amphtml,widespace-os/amphtml,Lith/amphtml,erwinmombay/amphtml,lzanol/amphtml,zhouyx/amphtml,voyagegroup/amphtml,AaronCritchley/amphtml