You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/06/06 20:55:24 UTC
[GitHub] piiswrong closed pull request #11170: Removing tutorial tests
piiswrong closed pull request #11170: Removing tutorial tests
URL: https://github.com/apache/incubator-mxnet/pull/11170
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/Jenkinsfile b/Jenkinsfile
index 288f9a4a317..28edda00959 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -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')
- }
- }
- }
}
}
diff --git a/tests/tutorials/test_tutorials.py b/tests/tutorials/test_tutorials.py
index 4c19a8ef6ed..507036409f6 100644
--- a/tests/tutorials/test_tutorials.py
+++ b/tests/tutorials/test_tutorials.py
@@ -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:
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services