From 7e7ac7ec9e00c5b52e1dbe5e7c1047ec7fdb4eaa Mon Sep 17 00:00:00 2001 From: Paul Ivanov Date: Mon, 14 Oct 2013 13:09:32 -0700 Subject: [PATCH] don't shutdown kernel after every test --- IPython/html/tests/casperjs/util.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/IPython/html/tests/casperjs/util.js b/IPython/html/tests/casperjs/util.js index 4a9ec5136..ed75d0029 100644 --- a/IPython/html/tests/casperjs/util.js +++ b/IPython/html/tests/casperjs/util.js @@ -51,10 +51,14 @@ casper.delete_current_notebook = function () { casper.notebook_test = function(test) { this.open_new_notebook(); this.then(test); - this.shutdown_current_kernel(); + //XXX: we get sporadic error messages when shutting down some of the tests. + // Since the entire server will go down at the end of running the test + // suite, it's ok for now to not try to shut anything down. + //this.shutdown_current_kernel(); + //XXX: the implementation of delete_current_notebook is currently broken - // it's not a big deal, since the notebook directory will be deleted on - // cleanup, but we should add tests for deleting the notebook separately + // it's not a big deal, since the notebook directory will be deleted on + // cleanup, but we should add tests for deleting the notebook separately //this.delete_current_notebook(); // Run the browser automation.