Comment 10 for bug 1430645

Revision history for this message
Alistair Coles (alistair-coles) wrote : Re: unauthorized delete from container with x-version-location

@Christian thanks for working on a test. I applied your patch from https://bugs.launchpad.net/swift/+bug/1430645/comments/5
but see another test fail - must be some test coupling, perhaps you have overridden the default account in the test env?

```
swift@saio-1:~/swift$ nosetests ./test/functional/tests.py:TestObjectVersioning -m test_versioning_
SKIPPING FUNCTIONAL TESTS SPECIFIC TO AUTH VERSION 3
SKIPPING FUNCTIONAL TESTS SPECIFIC TO SERVICE TOKENS
test_versioning_check_acl (test.functional.tests.TestObjectVersioning) ... ok
test_versioning_dlo (test.functional.tests.TestObjectVersioning) ... FAIL

======================================================================
FAIL: test_versioning_dlo (test.functional.tests.TestObjectVersioning)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/swift/swift/test/functional/tests.py", line 2550, in test_versioning_dlo
    self.assertEqual(3, versions_container.info()['object_count'])
AssertionError: 3 != 4
    '3 != 4' = '%s != %s' % (safe_repr(3), safe_repr(4))
    '3 != 4' = self._formatMessage('3 != 4', '3 != 4')
>> raise self.failureException('3 != 4')

----------------------------------------------------------------------
Ran 2 tests in 64.834s

FAILED (failures=1)
```