diff --git a/Jenkinsfile b/Jenkinsfile index 288f9a4a3173..28edda00959c 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 4c19a8ef6ed6..507036409f67 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: