diff --git a/test/unit/container/test_updater.py b/test/unit/container/test_updater.py index 74d030912f..20a898b359 100644 --- a/test/unit/container/test_updater.py +++ b/test/unit/container/test_updater.py @@ -64,14 +64,14 @@ class TestContainerUpdater(unittest.TestCase): 'swift_dir': self.testdir, 'interval': '1', 'concurrency': '2', - 'node_timeout': '5.', + 'node_timeout': '5.5', }) self.assertTrue(hasattr(cu, 'logger')) self.assertTrue(cu.logger is not None) self.assertEqual(cu.devices, self.devices_dir) self.assertEqual(cu.interval, 1) self.assertEqual(cu.concurrency, 2) - self.assertEqual(cu.node_timeout, 5.) + self.assertEqual(cu.node_timeout, 5.5) self.assertTrue(cu.get_account_ring() is not None) @mock.patch.object(container_updater, 'ismount') diff --git a/test/unit/obj/test_updater.py b/test/unit/obj/test_updater.py index db84dbac14..3900bf4944 100644 --- a/test/unit/obj/test_updater.py +++ b/test/unit/obj/test_updater.py @@ -84,13 +84,13 @@ class TestObjectUpdater(unittest.TestCase): 'swift_dir': self.testdir, 'interval': '1', 'concurrency': '2', - 'node_timeout': '5.'}) + 'node_timeout': '5.5'}) self.assertTrue(hasattr(cu, 'logger')) self.assertTrue(cu.logger is not None) self.assertEqual(cu.devices, self.devices_dir) self.assertEqual(cu.interval, 1) self.assertEqual(cu.concurrency, 2) - self.assertEqual(cu.node_timeout, 5.) + self.assertEqual(cu.node_timeout, 5.5) self.assertTrue(cu.get_container_ring() is not None) @mock.patch('os.listdir')