Daniel Kuppitz created TINKERPOP-1537:
-----------------------------------------
Summary: Python tests should not use hard-coded number of workers
Key: TINKERPOP-1537
URL: https://issues.apache.org/jira/browse/TINKERPOP-1537
Project: TinkerPop
Issue Type: Bug
Affects Versions: 3.2.3
Reporter: Daniel Kuppitz
https://github.com/apache/tinkerpop/blob/tp32/gremlin-python/src/main/jython/tests/driver/test_driver_remote_connection.py#L88
This test will fail on systems with less than 4 CPUs. Instead we should use
something like {{min(4, multiprocessing.cpu_count())}}.
Also see:
http://stackoverflow.com/questions/1006289/how-to-find-out-the-number-of-cpus-using-python
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)