Currently, once you click to run cell tests in jupyter lab, the result needs to come back within 5 seconds or it'll be cancelled.
But even if all heavy parts of a notebook are mocked out, many a notebook's celltests will not complete in 5 seconds.
We should probably up the default to 15 seconds or so.
|
import {IRequestResult, request} from "requests-helper"; |
https://github.com/timkpaine/requests-helper/blob/master/src/index.ts#L21
That should be easy.
We could also consider making that configurable.
However, it might be better to focus on improving how celltests are launched: #210
Currently, once you click to run cell tests in jupyter lab, the result needs to come back within 5 seconds or it'll be cancelled.
But even if all heavy parts of a notebook are mocked out, many a notebook's celltests will not complete in 5 seconds.
We should probably up the default to 15 seconds or so.
nbcelltests/js/src/run.ts
Line 15 in fa86221
nbcelltests/js/src/run.ts
Line 35 in fa86221
https://github.com/timkpaine/requests-helper/blob/master/src/index.ts#L21
That should be easy.
We could also consider making that configurable.
However, it might be better to focus on improving how celltests are launched: #210