Fixed time-sensitive tests.
Fixed time-sensitive tests.

I noticed that a couple of tests I recently made were
time-sensitive. This can be shown with the following quick
script:

from sys import exit
from unittest import TestSuite, TextTestRunner

from test.unit.obj.test_server import TestObjectController

s = TestSuite()
s.addTest(TestObjectController('test_GET_but_expired'))
s.addTest(TestObjectController('test_HEAD_but_expired'))
for x in xrange(200):
    if TextTestRunner().run(s).failures:
        exit('!!!!!!!!!!!!!!! TEST FAILED !!!!!!!!!!!!!!!')
print '\o/ Test ran 200 times without failure.'

Change-Id: Ifdb1920e5266aaa278baa0759fc0bfaa1aff2d0d

takeshineshiro/swift,mja054/swift_plugin,hbhdytf/mac2,shibaniahegde/OpenStak_swift,williamthegrey/swift,xiaoguoai/ec-dev-swift,daasbank/swift,smerritt/swift,Seagate/swift,bouncestorage/swift,wenhuizhang/swift,redbo/swift,Mirantis/swift-encrypt,gold3bear/swift,tipabu/swift,nadeemsyed/swift,hbhdytf/mac2,sarvesh-ranjan/swift,aerwin3/swift,psachin/swift,citrix-openstack/build-swift,bkolli/swift,openstack/swift,matthewoliver/swift,aerwin3/swift,swiftstack/swift,thiagodasilva/swift,zackmdavis/swift,matthewoliver/swift,clayg/swift,zaitcev/swift-lfs,redhat-openstack/swift,citrix-openstack-build/swift,daasbank/swift,revoer/keystone-8.0.0,xiaoguoai/ec-dev-swift,prashanthpai/swift,matthewoliver/swift,matthewoliver/swift,bouncestorage/swift,SUSE/swift,NeCTAR-RC/swift,bkolli/swift,tipabu/swift,mja054/swift_plugin,NewpTone/StackLab-swift,clayg/swift,smerritt/swift,clayg/swift,anishnarang/gswift,dencaval/swift,openstack/swift,larsbutler/swift,Intel-bigdata/swift,zackmdavis/swift,nadeemsyed/swift,smerritt/swift,hbhdytf/mac2,AfonsoFGarcia/swift,iostackproject/IO-Bandwidth-Differentiation,hurricanerix/swift,eatbyte/Swift,VictorLowther/swift,hurricanerix/swift,IPVL/swift-kilo,hurricanerix/swift,scality/ScalitySproxydSwift,tsli/test,maginatics/swift,mjzmjz/swift,nadeemsyed/swift,orion/swift-config,tipabu/swift,tipabu/swift,notmyname/swift,gold3bear/swift,revoer/keystone-8.0.0,psachin/swift,bradleypj823/swift,takeshineshiro/swift,nadeemsyed/swift,swiftstack/swift,psachin/swift,mjzmjz/swift,Em-Pan/swift,larsbutler/swift,prashanthpai/swift,Khushbu27/Tutorial,orion/swift-config,bradleypj823/swift,maginatics/swift,VictorLowther/swift,Triv90/SwiftUml,sarvesh-ranjan/swift,ceph/swift,rackerlabs/swift,hurricanerix/swift,Seagate/swift,Intel-bigdata/swift,redhat-openstack/swift,smerritt/swift,IPVL/swift-kilo,clayg/swift,swiftstack/swift,scality/ScalitySproxydSwift,hbhdytf/mac,mja054/swift_plugin,SUSE/swift,Triv90/SwiftUml,Khushbu27/Tutorial,notmyname/swift,redbo/swift,notmyname/swift,tsli/test,AfonsoFGarcia/swift,Mirantis/swift-encrypt,dpgoetz/swift,wenhuizhang/swift,iostackproject/IO-Bandwidth-Differentiation,zaitcev/swift-lfs,openstack/swift,williamthegrey/swift,dencaval/swift,hbhdytf/mac,anishnarang/gswift,Em-Pan/swift,openstack/swift,JioCloud/swift,Akanoa/swift,citrix-openstack/build-swift,JioCloud/swift,shibaniahegde/OpenStak_swift,thiagodasilva/swift,eatbyte/Swift,citrix-openstack-build/swift,mjwtom/swift,mjwtom/swift,levythu/swift,Akanoa/swift,notmyname/swift,hbhdytf/mac2,rackerlabs/swift,psachin/swift,ceph/swift,dpgoetz/swift,NeCTAR-RC/swift,levythu/swift,NewpTone/StackLab-swift