Giter Site home page Giter Site logo

Comments (13)

mkorpela avatar mkorpela commented on August 22, 2024

Thanks for the bug report!

I'm not yet able to reproduce the problem - have to try it again tomorrow!

from pabot.

mkorpela avatar mkorpela commented on August 22, 2024

Couldn't reproduce on OS X with chromedriver 2.14, selenium2library 1.6.0.

from pabot.

mkorpela avatar mkorpela commented on August 22, 2024

Seems that the hanging process in your case is PabotLib process. Are you using the --pabotlib option?

from pabot.

aaltat avatar aaltat commented on August 22, 2024

Yes I am.

I was thinking that could it be windows is related problem?

from pabot.

aaltat avatar aaltat commented on August 22, 2024

Windows is -> windows OS, dam that auto correction

from pabot.

aaltat avatar aaltat commented on August 22, 2024

Did more investigations, one does not need a Selenium2Library to reproduce the problem. It is enough to call pabot and some BuildIn library keywords to get the pabot process hanging around after the test execution. I use this command:

pabot --pabotlib --resourcefile suites\valueset.dat suites\pabot_fail

And the example suite can be found from here: https://www.dropbox.com/s/kc8uxvg2ym7o30t/suites_v2.zip?dl=0

Seems lot like windows OS problem, because when I run the same suite in my Fedora box, all the pabot process do die nicely when execution is stopped.

from pabot.

mkorpela avatar mkorpela commented on August 22, 2024

thanks for debugging! My virtual box windows images aren't currently working. But I'll try to find a working image.

from pabot.

mkorpela avatar mkorpela commented on August 22, 2024

Could reproduce the problem in Win 7. Thanks for the report.

from pabot.

mkorpela avatar mkorpela commented on August 22, 2024

From the robotremoteserver docs: "Sending the process SIGINT, SIGTERM, or SIGHUP signal. Does not work on Windows. Notice that with Jython you need to send the signal to the started Java process, not to the shell typically started by jython command."
Seems like a new major pabot version is going to be born.

from pabot.

mkorpela avatar mkorpela commented on August 22, 2024

Released in 0.12.

from pabot.

aaltat avatar aaltat commented on August 22, 2024

Cool, thanks from help.

from pabot.

mkorpela avatar mkorpela commented on August 22, 2024

Do you want the Run only once keyword too?

from pabot.

aaltat avatar aaltat commented on August 22, 2024

Sure, that would be nice.

I did have not so elegant solution in my mind. Call pybot first to only do the run once setup and then call pabot to run the parallel test and combine the result rebot. But implementing the Run Only Once keyword would definitely ease the complexity.

My need is only in the setup. In practise I need create unique users for each parallel test and because I wipe database before test run, I cannot allow each parallel run to use the admin user of the application. The application under test does not cope if same user does many things parallel.

from pabot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.