A lightweight, multi-tenant, scalable and secure gateway that enables Jupyter Notebooks to share resources across distributed clusters such as Apache Spark, Kubernetes and others.
The python interrupt tests (for all integrations on Yarn) started failing due to string length limits because it was building a string whose length got too long. Not sure why this just started failing CI but there must have been some kind of update to check that. This pull request makes the python interrupts more like the Scala and R interrupt tests where a sleep() call is getting interrupted.
(Note that the building of the long string was to generate CPU load for the PR at the time, which switched the launcher from a thread to a process since a kernel's operation could starve the ability for the thread to perform the interrupt. Given that we've demonstrated that, I feel it's okay to make these tests like the other two kernels.)
The python interrupt tests (for all integrations on Yarn) started failing due to string length limits because it was building a string whose length got too long. Not sure why this just started failing CI but there must have been some kind of update to check that. This pull request makes the python interrupts more like the Scala and R interrupt tests where a
sleep()
call is getting interrupted.(Note that the building of the long string was to generate CPU load for the PR at the time, which switched the launcher from a thread to a process since a kernel's operation could starve the ability for the thread to perform the interrupt. Given that we've demonstrated that, I feel it's okay to make these tests like the other two kernels.)