Open databobek opened 4 years ago
@ziame If you could author a test case that even randomly fails this way, please, share it here.
I could not figure out any obvious reason for this behavior, so I am interested for examples and observations.
I am actually looking at some that I cannot share. Once I reproduce in some neutral place, I will be sure to share again
@ziame Sure. No hurry.
What library was that exactly? https://pypi.org/search/?q=robotframework-requestslibrary gives no results.
I did try https://pypi.org/project/robotframework-requests/ at https://mybinder.org/v2/gh/robots-from-jupyter/robotkernel/master and tried to run some of its tests multiple times without restarting the kernel, but was unable to reproduce this with them https://github.com/bulkan/robotframework-requests/tree/master/tests
If you have not been using Binder before:
https://pypi.org/project/robotkernel/ includes link to launch Jupyter + RobotKernel in the cloud
it is possible to install additional libraries into that instance e.g by opening a terminal form JupyterLab launcher and running pip install
(and restarting the kernel to have the new libraries available)
By " I can't share " I meant that I mustn't, not that I am not able. :)
I will get back to you as soon as I can. It's very elusive, but when you have the "correct" set, it just stays bad 🍡
i am using robotkernel in jupyterlab Version 1.1.4.
i am also using robotframework-requestslibrary. for some reason - and only with this library - and only in jupyterlab/robotkernel -- I am getting this problem that cell with Test Case will not end.
It gets stuck with and shows that it's still doing the last keyword in the test -- for example the suite teardown. Actual result is that everything has correctly finished, it's just the log that won't be generated.
when i run the test using nbrobot it ends correctly and with generated log.
Sadly it seems i cannot reliably get a logical conclusion on when this happens. I have a test with given words send in body and it works, when i change them to different words, it gets stuck:
Body: {message: "hello"} --> OK Body: {message: "hi!"} --> stuck
Leaving it out here, maybe someone had a similar problem and found a solution :)