~chris-gondolin/charm-helpers/upstart-stop-start

« back to all changes in this revision

Viewing changes to tests/contrib/storage/test_linux_ceph.py

[xfactor973, r=1chb1n]  Add the final update_pool call in Ceph pool creation to set the replica count (bug 1565120)

Show diffs side-by-side

added added

removed removed

Lines of Context:
234
234
 
235
235
        self.check_call.assert_has_calls([
236
236
            call(['ceph', '--id', 'admin', 'osd', 'pool', 'create', 'test', str(200)]),
 
237
            call(['ceph', '--id', 'admin', 'osd', 'pool', 'set', 'test', 'size', str(3)])
237
238
        ])
238
239
 
239
240
    @patch.object(ceph_utils, 'get_osds')