124 Commits

Author SHA1 Message Date
David Goetz
a98ce6eade Change tpooled_get_hashes back to err,err on Timeout, (object server REPLICATE needs it) and unit tests
Change-Id: Ic60c33570594fd2c0939043863b013aa2103505d
2012-02-08 10:22:39 -08:00
gholt
0e2c101fba 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
2011-11-01 23:16:11 +00:00
gholt
872420efdb Expiring Objects Support
Please see the doc/source/overview_expiring_objects.rst for
more detail.

Change-Id: I4ab49e731248cf62ce10001016e0c819cc531738
2011-11-01 15:49:00 +00:00
John Dickinson
88b06d2487 made failing unit test for HEAD requests 2011-04-19 15:57:44 -05:00
David Goetz
b544570da5 merge to trunk conflicts 2011-03-28 19:29:20 -07:00
John Dickinson
0c5aacb424 added default support for content-disposition and allows x-object-manifest to be manipulated like any other object metadata header 2011-03-24 13:03:49 -05:00
John Dickinson
09b7013dc2 fixed location of a test 2011-03-24 11:43:12 -05:00
John Dickinson
88ad83767b objects can now have arbitrary headers set in metadata that will be served back when they are fetched 2011-03-22 20:05:44 -05:00
John Dickinson
06094af359 fixed object POST so content encoding can be set and deleted 2011-03-22 18:17:47 -05:00
David Goetz
863393c823 pep8 2011-03-16 09:04:00 -07:00
David Goetz
5482035bc0 change ite logic and add more tests 2011-03-16 07:55:07 -07:00
David Goetz
86c84c3bc3 unittests workng and added probe test 2011-03-15 22:12:03 -07:00
David Goetz
da1cdb1c40 refactor the quarantine 2011-03-10 12:26:41 -08:00
gholt
cc00bd40e0 Fix tests to cleanup their /tmp dirs 2011-01-24 17:12:38 -08:00
Clay Gerrard
29eddb8c24 made tests play nice with standalone unittest, fixed some doc stuff 2011-01-19 16:05:22 -06:00
Clay Gerrard
105315dfc4 obsolete PATH_TO_TEST_XFS 2011-01-19 14:18:37 -06:00
Anne Gentle
8823427161 Changed copyright notices on py files and the single rst file with a copyright notice 2011-01-04 17:34:43 -06:00
gholt
fa3c871f0b Server-side implementation for segmented objects 2010-11-16 15:35:39 -08:00
Michael Barton
c27da7bb9d Change chunks_per_sync config to mb_per_sync 2010-10-13 21:26:43 +00:00
Clay Gerrard
2477744704 updated skipped functional tests to raise nose.SkipTest 2010-09-03 11:20:28 -05:00
Clay Gerrard
5bc42442a9 updated skipped tests in test.unit.obj.test_server to raise nose.SkipTest 2010-09-03 10:17:55 -05:00
Chuck Thier
2c596c0a0f Initial commit of middleware refactor 2010-08-20 00:42:38 +00:00
gholt
f381184ae2 Make xfs-based tests optional 2010-07-13 15:04:12 -07:00
Chuck Thier
001407b969 Initial commit of Swift code 2010-07-12 17:03:45 -05:00