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

Removing tutorial tests #11170

Merged
merged 2 commits into from
Jun 6, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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