Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Removing tutorial tests (#11170)
Browse files Browse the repository at this point in the history
* removing tutorial tests

Removing tutorial tests for now until we figure out why they started failing so much

* extend sleep time to > 1s
  • Loading branch information
ThomasDelteil authored and piiswrong committed Jun 6, 2018
1 parent 069026a commit 7511045
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 23 deletions.
22 changes: 0 additions & 22 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -824,28 +824,6 @@ try {
}
}
}
},
'tutorial tests Python 2 GPU': {
node('mxnetlinux-gpu') {
ws('workspace/it-tutorials-py2') {
timeout(time: max_time, unit: 'MINUTES') {
init_git()
unpack_lib('gpu')
docker_run('ubuntu_gpu', 'tutorialtest_ubuntu_python2_gpu', true, '3g')
}
}
}
},
'tutorial tests Python 3 GPU': {
node('mxnetlinux-gpu') {
ws('workspace/it-tutorials-py3') {
timeout(time: max_time, unit: 'MINUTES') {
init_git()
unpack_lib('gpu')
docker_run('ubuntu_gpu', 'tutorialtest_ubuntu_python3_gpu', true, '3g')
}
}
}
}
}

Expand Down
5 changes: 4 additions & 1 deletion tests/tutorials/test_tutorials.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,10 @@ def _test_tutorial_nb(tutorial):
os.makedirs(working_dir)
try:
notebook = nbformat.read(tutorial_path + '.ipynb', as_version=IPYTHON_VERSION)
time.sleep(0.5) # Adding a small delay to allow time for sockets to be freed
# Adding a small delay to allow time for sockets to be freed
# stop-gap measure to battle the 1000ms linger of socket hard coded
# in the kernel API code
time.sleep(1.1)
if kernel is not None:
eprocessor = ExecutePreprocessor(timeout=TIME_OUT, kernel_name=kernel)
else:
Expand Down

0 comments on commit 7511045

Please sign in to comment.