Git Product home page Git Product logo

Comments (9)

mkorpela avatar mkorpela commented on August 19, 2024

The problem that is now also discussed in the robot framework users group ( https://groups.google.com/d/msg/robotframework-users/K7Tos3XUNBE/speK9ebayeQJ ) is the one where the parallel tests need to reserve their own version of some resource ( in this case it is the server).

I was thinking of adding a new library that can be used remotely with Remote library for distributing this kind of resources. This would allow reserving and releasing resources very effectively - so this would be similar to common locking mechanisms..

I'm not yet sure what would be the best way to solve this resource reservation problem - it might also be the way you suggest..

from pabot.

lionelperrin avatar lionelperrin commented on August 19, 2024

I'll try to implement the solution I've described. It could serve as a proof of concept. Then we might decide whether it is acceptable or not.

The solution you described with a robotframework library seems to me a more general solution to this problem but may be more difficult to setup for the end user.

from pabot.

lionelperrin avatar lionelperrin commented on August 19, 2024

Here is a possible implementation : https://github.com/lionelperrin/pabot/commits/resources
Let me know if it's worth a pull request.

from pabot.

mkorpela avatar mkorpela commented on August 19, 2024

It says on my machine:
[ ERROR ] Parsing '--variable' failed: Data source does not exist.

from pabot.

lionelperrin avatar lionelperrin commented on August 19, 2024

Thanks,
It looks that I put this note to illustrate my idea a bit too early. Should be fixed now.

from pabot.

mkorpela avatar mkorpela commented on August 19, 2024

Log , report or output files are not generated with the new version.

from pabot.

lionelperrin avatar lionelperrin commented on August 19, 2024

Sorry, I've fixed it and then I've broken it again... I should have start with #2 😄

Should be better now.

from pabot.

sachin6757 avatar sachin6757 commented on August 19, 2024

Hi,

I have tested code from https://github.com/lionelperrin/pabot/commits/resources and it's working fine.

Thanks & Regards,
Sachin Nikam

from pabot.

mkorpela avatar mkorpela commented on August 19, 2024

The current version 0.9 has a method for resource distribution.

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.