* Fix #3402: wrong fid crashes distributed algorithm The bug was introduced by the recent DMatrix refactor (#3301). It was partially fixed by #3408 but the example in #3402 was still failing. The example in #3402 will succeed after this fix is applied. * Explicitly specify "this" to prevent compile error * Add regression test * Add distributed test to Travis matrix * Install kubernetes Python package as dependency of dmlc tracker * Add Python dependencies * Add compile step * Reduce size of regression test case * Further reduce size of test
10 lines
402 B
Bash
Executable File
10 lines
402 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "====== 1. Basic distributed test with Python ======"
|
|
PYTHONPATH=../../python-package/ ../../dmlc-core/tracker/dmlc-submit --cluster=local --num-workers=3\
|
|
python test_basic.py
|
|
|
|
echo "====== 2. Regression test for issue #3402 ======"
|
|
PYTHONPATH=../../python-package/ ../../dmlc-core/tracker/dmlc-submit --cluster=local --num-workers=2 --worker-cores=1\
|
|
python test_issue3402.py
|