Commit 58435063 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Remove a disabled test

Computation of next TID is now part of master's transaction manager.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1848 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent f10b514d
......@@ -24,18 +24,6 @@ from neo.node import StorageNode
class MasterPartitionTableTests(NeoTestBase):
def _test_01_setNextID(self):
pt = PartitionTable(100, 2)
# must raise as we don"t have one
self.assertEqual(pt.getID(), INVALID_PTID)
self.assertRaises(RuntimeError, pt.setNextID)
# set one
pt.setID(p64(23))
nptid = pt.setNextID()
self.assertEqual(pt.getID(), nptid)
self.assertTrue(u64(pt.getID()) > 23)
self.assertEqual(u64(pt.getID()), 24)
def test_02_PartitionTable_creation(self):
num_partitions = 5
num_replicas = 3
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment