Alistair Coles c35285f14b Use correct policy when faking misplaced objects in probe test
Before, merge_objects() always used storage policy index of 0 when
inserting a fake misplaced object into a shard container. If the shard
broker had a different policy index then the misplaced object would
not show in listings causing test_misplaced_object_movement() to
fail. This test bug might be exposed by having policy index 0 be an EC
policy, since the probe test requires a replication policy and would
therefore choose a non-zero policy index.

The fix is simply to specify the shard's policy index when inserting
the fake object.

Change-Id: Iec3f8ec29950220bb1b2ead9abfdfb1a261517d6
2018-05-21 08:36:14 +01:00
..
2017-07-05 10:07:11 +08:00
2017-12-13 21:26:12 +00:00