Unverified Commit d0eae92e authored by Da Zheng's avatar Da Zheng Committed by GitHub
Browse files

[Test] reduce test. (#895)

* reduce test.

* increase timeout for unittest.
parent c2b8af45
......@@ -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}"
}
}
......
......@@ -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__':
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment