Comments (2)
Hi @dgzlopes The flakiness you mention has Three elements that depends on the test environment:
-
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. -
"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.
-
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.
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)
- Improve decoupling between Disruptors, AgentController and Selector HOT 1
- Add unit tests for fault injection in Service Disruptor HOT 1
- Custom builds from a release break version synchronization between extension and agent
- Build for non-release versions is fails
- Reconsider model for injecting delays in HTTP requests
- Implement release process using Golang HOT 1
- TestPods_AddEphemeralContainer became flaky HOT 4
- HTTP fault injection returns 502 (bad gateway) for all requests HOT 2
- Cancelling agent leaves iptables rules HOT 1
- Apply fault injection validations uniformly across protocols and disruptors
- Come to better abstractions for fault injection
- Improve linting and static analysis tooling
- Homogenize the http proxy tests
- Implement e2e setup/cleanup command
- Add tests for HTTP Proxy
- Implement e2e tests using k6
- Test-scoped data race in GRPC tests HOT 1
- Use the current branch's commit as the tag for Agent's integration tests HOT 3
- Add option to avoid test failing if traffic is not intercepted
- ambiguous import when building disruptor with last K6 version HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xk6-disruptor.