mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-24 12:05:22 +08:00
relax busy/idle ordering on reconnect
nudge can leak idle messages, so it could be busy->idle, or idle->busy->idle. The important thing is that we get at least one idle message
This commit is contained in:
parent
b4f5f6b4d4
commit
f716328d90
@ -242,8 +242,9 @@ casper.notebook_test(function () {
|
||||
'kernel_disconnected.Kernel',
|
||||
'kernel_reconnecting.Kernel',
|
||||
'kernel_connected.Kernel',
|
||||
'kernel_busy.Kernel',
|
||||
'kernel_idle.Kernel'
|
||||
// note: there will be a 'busy' in here, too,
|
||||
// but we can't guarantee which will come first
|
||||
'kernel_idle.Kernel',
|
||||
],
|
||||
function () {
|
||||
this.thenEvaluate(function () {
|
||||
@ -262,8 +263,7 @@ casper.notebook_test(function () {
|
||||
'kernel_connection_failed.Kernel',
|
||||
'kernel_reconnecting.Kernel',
|
||||
'kernel_connected.Kernel',
|
||||
'kernel_busy.Kernel',
|
||||
'kernel_idle.Kernel'
|
||||
'kernel_idle.Kernel',
|
||||
],
|
||||
function () {
|
||||
this.thenEvaluate(function () {
|
||||
|
Loading…
Reference in New Issue
Block a user