Coder Social home page Coder Social logo

robotframework-openstacklibrary's People

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

robotframework-openstacklibrary's Issues

Check Stacks doesn't work if stack was only deployed once

My team and I are currently using OpenStack and want to use Robot Framework for the acceptance of our TripleO platform; while going through your code and trying simple tests, I realized that there seems to be a bug on the Check Stacks code :

                if str(stack.stack_name).startswith(stack_name+'-'):
                    total_stacks += 1
                    if stack.status == "COMPLETE":
                        completed_stacks += 1
                    elif stack.status == "FAILED":
                        failed_stacks += 1

In this piece of code, you can only check stacks that have been deployed at least twice, since you check that it starts with a dash; I believe you should start by checking if the stack name is contained in the list, and then run that loop, to make sure you get all use cases.

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.