swift/test
paul luse a3facce53c Fix invalid frag_index header in ssync_sender when reverting EC tombstones
Back in d124ce [1] we failed to recognize the situation where a revert
job would have an explicit frag_index key wth the literal value None
which would take precedence over the dict.get's default value of ''.
Later in ssync_receiver we'd bump into the ValueError converting 'None'
to an int (again).

In ssync_sender we now handle literal None's correctly and should
hopefully no longer put this invalid headers on the wire - but for belts
and braces we'll also update ssync_receiver to raise a 400 series error
and ssync_sender to better log the error messages.

1. https://review.openstack.org/#/c/195457/

Co-Author: Clay Gerrard <clay.gerrard@gmail.com>
Co-Author: Alistair Coles <alistair.coles@hp.com>
Change-Id: Ic71ba7cc82487773214030207bb193f425319449
Closes-Bug: 1489546
2015-09-08 14:58:11 -07:00
..
functional Add test that a tempurl POST cannot set a DLO manifest header 2015-08-26 16:30:23 +01:00
probe EC GET path: require fragments to be of same set 2015-08-27 21:09:41 -07:00
unit Fix invalid frag_index header in ssync_sender when reverting EC tombstones 2015-09-08 14:58:11 -07:00
__init__.py test/(functional/probe):Replace python print operator with print function (pep H233, py33) 2015-08-20 11:42:58 +09:00
sample.conf Add extra_header_count to document and config. 2015-08-05 22:09:40 +08:00