Coder Social home page Coder Social logo

Comments (2)

pablochacin avatar pablochacin commented on May 20, 2024

Hi @dgzlopes The flakiness you mention has Three elements that depends on the test environment:

  1. The timeout for the creation of resources. This depends totally on the environment. I think it would probably worth documenting this error in the example and also explain how to increase it by changing the timeout variable.

  2. "httpbin-ns" already exists: This is trickier to solve without making the code more complex because there are two options here: 1) the previous test didn't finished properly and the namesapce must be deleted manually or 2) the delete from the previous execution is still ongoing. It is possible to check the status of the namespace and either wait for it to be deleted or force the deletion, but this add complexity to the code. Another way (maybe better) is to use a random namespace for each test.

  3. The setup failure also depends on the time it takes for creating an ephemeral container in a certain environment, including the image download. As the message explains, the only option is to increase the timeout. I'm not sure if it is clear from the message which option is that.

from xk6-disruptor.

dgzlopes avatar dgzlopes commented on May 20, 2024

Yeah, agree 👍

(1) Documentation would be pretty nice, yup.
(2) I wonder if it is related to grafana/xk6-kubernetes#79

Just wondering if we should instruct users trying the examples to use Kubectl before launching the k6 script. That way, the example is much more reproducible in almost every case, and we can get fancy with provisioning and using the k8s extension in the future.

from xk6-disruptor.

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.