Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dgl
Commits
d0eae92e
Unverified
Commit
d0eae92e
authored
Oct 02, 2019
by
Da Zheng
Committed by
GitHub
Oct 02, 2019
Browse files
[Test] reduce test. (#895)
* reduce test. * increase timeout for unittest.
parent
c2b8af45
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
Jenkinsfile
Jenkinsfile
+1
-1
tests/compute/test_sampler.py
tests/compute/test_sampler.py
+2
-1
No files found.
Jenkinsfile
View file @
d0eae92e
...
...
@@ -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}"
}
}
...
...
tests/compute/test_sampler.py
View file @
d0eae92e
...
...
@@ -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__'
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment