- 02 Apr, 2009 5 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@317 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Remove explicit locking from one caller. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@316 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Test for partition table readiness at the end of the loop before sleeping rather than at the begining. - prevents from sleeping before exiting the loop in the even of a successful connection attemp - partition table got flushed a few lines above, so this test is always true on the first loop iteration. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@315 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@314 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@313 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 01 Apr, 2009 10 commits
-
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@312 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@311 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@310 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Note: there are 3 unimplemented tests (raising NotImplementedError). test_StopOperation: looks unimplemented in current code (no action besides logging). test_knownMasterNotifyNodeInformation & test_unknownMasterNotifyNodeInformation: it is yet unsure on how to test those cases. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@309 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@308 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Remove all "isinstance(conn, MTClientConnection)" tests from client handler to make it unit-test-friendly: Client node does not have any listening socket, so there cannot be any (MT)ServerConnection instance used to reach handler. Also, Multi-Thread safety is not a runtime but a static criterion (ie, it is most likely a bug to use non-multi-thread-safe Connection subclasses in client). So this test is an always-true check, and can be removed. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@307 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@306 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Change "if" into "elif": it is obviously wrong to call app.master_conn.getUUID() on None, so this test should only be executed in "not None" case. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@305 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@304 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Replace isinstance(node, ...Node) by node.getNodeType() == ..._NODE_TYPE (and similar). This makes things easier to unit test. Add missing imports. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@303 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 31 Mar, 2009 3 commits
-
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@302 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@301 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@300 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 27 Mar, 2009 3 commits
-
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@299 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@298 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
rows are the same rows thanks to implicit pointer git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@297 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 26 Mar, 2009 8 commits
-
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@296 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@295 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@294 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@293 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@292 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
fix class name git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@291 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@290 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Revert commit 254: super(MTClientConnection, self).__init__ sends self to event_manager, which registers it to epoll, and epoll_wait is pending in another thread. So this lock is really needed. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@289 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
- 25 Mar, 2009 11 commits
-
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@288 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@287 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@286 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@285 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@284 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@283 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@282 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Allow providing non-basestring values as connector parameter, which are then passedthrough as replacements for Connector classes. This is usefull to modify Connector class behaviour in tests. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@281 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@280 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@279 71dcc9de-d417-0410-9af5-da40c76e7ee4
-
Vincent Pelletier authored
Move conector handler retrieval code from Storage.py to app.py, to make it consistent with other nodes. git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@278 71dcc9de-d417-0410-9af5-da40c76e7ee4
-