setting allow_versioned_writes to false in proxy config file causes functional tests to fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
In Progress
|
Undecided
|
Unassigned |
Bug Description
Currently on master, setting allow_versioned
The 10 errors are as follows:
test_clear_
test_overwriting (test.functiona
test_versioning
test_versioning
test_versioning_dlo (test.functiona
test_clear_
test_overwriting (test.functiona
test_versioning
test_versioning
test_versioning_dlo (test.functiona
Changed in swift: | |
assignee: | nobody → Travis Nguyen (travisn) |
Changed in swift: | |
status: | New → Confirmed |
Changed in swift: | |
status: | Confirmed → In Progress |
Changed in swift: | |
assignee: | Janie Richling (jrichli) → nobody |
For each error, I get the following line:
ResponseError: 412: 'Precondition Failed' (None None) txid=txacbf413d 5c3d4fb2903ad- 00564f7860
It looks like the tests are expected to fail with a 412 error when allow_versioned _writes = false, based on the following file (at the time of writing, on lines 105-106):
https:/ /review. openstack. org/#/c/ 134347/ 44/test/ unit/common/ middleware/ test_versioned_ writes. py
Since the tests behave as expected, my course of action is to have functests skip running the tests associated with TestObjectVersi oning and TestObjectVersi oningUTF8.