~notmyname/swift/stats_1_1_fix

« back to all changes in this revision

Viewing changes to test/unit/obj/test_server.py

  • Committer: Tarmac
  • Author(s): Michael Barton
  • Date: 2010-10-16 17:32:29 UTC
  • mfrom: (92.4.3 mbsync)
  • Revision ID: hudson@openstack.org-20101016173229-ut1rw7r232v9ktxp
change chunks_per_sync config to mb_per_sync

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
        mkdirs(os.path.join(self.testdir, 'sda1', 'tmp'))
57
57
        conf = {'devices': self.testdir, 'mount_check': 'false'}
58
58
        self.object_controller = object_server.ObjectController(conf)
59
 
        self.object_controller.chunks_per_sync = 1
 
59
        self.object_controller.bytes_per_sync = 1
60
60
 
61
61
    def tearDown(self):
62
62
        """ Tear down for testing swift.object_server.ObjectController """