Skip to content

Commit

Permalink
[Test] reduce test. (dmlc#895)
Browse files Browse the repository at this point in the history
* reduce test.

* increase timeout for unittest.
  • Loading branch information
zheng-da authored Oct 2, 2019
1 parent c2b8af4 commit d0eae92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def cpp_unit_test_win64() {
def unit_test_linux(backend, dev) {
init_git()
unpack_lib("dgl-${dev}-linux", dgl_linux_libs)
timeout(time: 2, unit: 'MINUTES') {
timeout(time: 5, unit: 'MINUTES') {
sh "bash tests/scripts/task_unit_test.sh ${backend} ${dev}"
}
}
Expand Down
3 changes: 2 additions & 1 deletion tests/compute/test_sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,8 @@ def test_negative_sampler():
check_negative_sampler('PBG-head', False, 10)
check_negative_sampler('head', True, 10)
check_negative_sampler('head', False, 10)
check_negative_sampler('head', False, 100)
#disable this check for now. It might take too long time.
#check_negative_sampler('head', False, 100)


if __name__ == '__main__':
Expand Down

0 comments on commit d0eae92

Please sign in to comment.