mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-27 04:20:22 +08:00
more informative message on server timeout
This commit is contained in:
parent
3725218069
commit
0ea7d1e394
@ -51,6 +51,12 @@ casper.notebookTest = function(test) {
|
||||
});
|
||||
};
|
||||
|
||||
casper.options.waitTimeout=5000
|
||||
casper.on('waitFor.timeout', function onWaitForTimeout(timeout) {
|
||||
this.echo("Timeout for " + casper.getNotebookServer());
|
||||
this.echo("Is the notebook server running?");
|
||||
});
|
||||
|
||||
// Pass `console.log` calls from page JS to casper.
|
||||
casper.printLog = function () {
|
||||
this.on('remote.message', function(msg) {
|
||||
|
Loading…
Reference in New Issue
Block a user