- 21 Mar, 2011 3 commits
-
-
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
-
- 25 Jan, 2011 6 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2643 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Move queue flushing to dispatcher. Use forget_queue in "undo" as well. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2642 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Instead, forget them at dispatcher level, and empty queue (in case answers were received but not handled yet). git-svn-id: https://svn.erp5.org/repos/neo/trunk@2641 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2640 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2639 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2638 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 24 Jan, 2011 4 commits
-
-
Vincent Pelletier authored
There is no special case for this state, so just handle it as a failed connection. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2637 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/trunk@2636 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Since r2357 "ask" atomically checks connection state before sending, so early check & locking are not needed here anymore. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2635 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Breakage introduced in r2632. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2634 71dcc9de-d417-0410-9af5-da40c76e7ee4
-