- 22 Mar, 2011 5 commits
-
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2683 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2682 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2681 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Julien Muchembled authored
This should fix the following random failure: Traceback (most recent call last): File "neo/tests/functional/__init__.py", line 140, in start execfile(command, {"__name__": "__main__"}) File "./neoadmin", line 22, in <module> main() File "neo/scripts/neoadmin.py", line 66, in main app.run() File "neo/admin/app.py", line 103, in run self.em.poll(1) File "neo/lib/event.py", line 100, in poll to_process.process() File "neo/lib/connection.py", line 532, in process self._handlers.handle(self, packet) File "neo/lib/connection.py", line 158, in handle self._handle(connection, packet) File "neo/lib/connection.py", line 174, in _handle handler.packetReceived(connection, packet) File "neo/lib/handler.py", line 93, in packetReceived self.dispatch(conn, packet) File "neo/admin/handler.py", line 142, in dispatch super(MasterEventHandler, self).dispatch(conn, packet) File "neo/lib/handler.py", line 57, in dispatch method(conn, *args) File "neo/admin/handler.py", line 156, in sendPartitionTable self.app.pt.load(ptid, row_list, self.app.nm) File "neo/lib/pt.py", line 219, in load assert node is not None AssertionError git-svn-id: https://svn.erp5.org/repos/neo/trunk@2680 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2679 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 21 Mar, 2011 8 commits
-
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2678 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2677 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2676 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2675 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2674 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Julien Muchembled authored
State changes are detect earlier with lower values and speed the test suite. However, this is a hack and too small values would waste CPU. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2673 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2672 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Julien Muchembled authored
- remove useless calls to 'bool' - small optimizations in lib.protocol.Packet.__init__ - code simplification in IdentificationHandler - fix typo in docstring - neo/tests/__init__.py: 2 lines were indented with 2-spaces instead of 4-spaces git-svn-id: https://svn.erp5.org/repos/neo/trunk@2671 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 17 Mar, 2011 10 commits
-
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2670 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Julien Muchembled authored
This fixes several random failures in unit tests. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2669 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2668 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2667 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2666 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Julien Muchembled authored
This fixes errors like: - ConnectorException: makeListeningConnection on ('127.0.0.1', 33157) failed: 98:Address already in use Error executing './neomaster ... - "error: [Errno 22] Invalid argument" in __allocatePort A system-wide lock is used to prevent conflicts when several NEO test suites are run simultaneously. However, errors could still happen if other software tries to allocate ports. Allocated ports are kept open as long as possible to minimize the probability that it happens: they are closed just before spawning subprocesses. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2665 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Julien Muchembled authored
It will be used to allocate ports in a safer way. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2664 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2663 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2662 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2661 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 14 Mar, 2011 1 commit
-
-
Olivier Cros authored
We add this doc file to explain how to check the progressing of neo test suite(unit tests) and to know how to control which neo parts had been tested and which had not. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2660 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 02 Mar, 2011 2 commits
-
-
Olivier Cros authored
To allow Neo to be installed on a machine through buildout, we must define buildout.cfg file. We added this fils to make it possible to set up a neo buildout on a machine directly with repository sources. It is now possible to install neo on a computer just by using buildout, linked to neo eggs. Buildout docs git-svn-id: https://svn.erp5.org/repos/neo/trunk@2659 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
This is required since r2534, but was omitted from repository (patch was posted on zodb-dev, awaiting review). git-svn-id: https://svn.erp5.org/repos/neo/trunk@2658 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 01 Mar, 2011 2 commits
-
-
Grégory Wisniewski authored
Use a marker meaning "no content", AF_UNSPEC seems appropriate for this kind of usage. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2657 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2656 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 28 Feb, 2011 1 commit
-
-
Olivier Cros authored
In order to correct some test errors generated by IPv6 support on Neo. These errors were dued to mis-implemented tests, which were attempted wrong type of exceptions. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2655 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 25 Feb, 2011 1 commit
-
-
Olivier Cros authored
In order to synchronise neo with slapos, it has to work perfectly with ipv4 and ipv6. This allows to integrate neo in erp5 and to prepare different buildout installations of neo. The protocol and connectors are no more generic but can now support IPv4 and IPv6 connections. We adopted a specific way of development which allow to easily add new protocols in the future. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2654 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 21 Feb, 2011 1 commit
-
-
Vincent Pelletier authored
Typo, and add a few more details. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2653 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 08 Feb, 2011 9 commits
-
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2652 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2651 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2650 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
- Storage nodes start to replicate a partition when all transactions that were pending when the oudated partition was added are committed. - Transactions are registered by the master from the tpc_begin step. Signed-off-by: Grégory <gregory@nexedi.com> git-svn-id: https://svn.erp5.org/repos/neo/trunk@2649 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
Signed-off-by: Grégory <gregory@nexedi.com> git-svn-id: https://svn.erp5.org/repos/neo/trunk@2648 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
Signed-off-by: Grégory <gregory@nexedi.com> git-svn-id: https://svn.erp5.org/repos/neo/trunk@2647 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
Signed-off-by: Grégory <gregory@nexedi.com> git-svn-id: https://svn.erp5.org/repos/neo/trunk@2646 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
Signed-off-by: Grégory <gregory@nexedi.com> git-svn-id: https://svn.erp5.org/repos/neo/trunk@2645 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Grégory Wisniewski authored
Signed-off-by: Grégory <gregory@nexedi.com> git-svn-id: https://svn.erp5.org/repos/neo/trunk@2644 71dcc9de-d417-0410-9af5-da40c76e7ee4
-