-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generic end-to-end tests #405
Comments
We could also make |
I thought we had a similar issue elsewhere, but can't find it. I agree that the test_driver could be more generic. I am not sure why it needs to start other components vs. starting them via docker-compose and having the driver just run & validate the test. |
@pavolloffay this was the issue I was referring to jaegertracing/jaeger-kubernetes#22 |
I have renamed this issue to Generic end-to-end tests. Currently we have this use cases:
To do the above we need a tracer and parse response objects. For dependency links we need also report zipkin shared spans (jaeger go client should be good to go, however this does not support merged PRC spans and all zipkin formats (json, thrift, v2 json)). |
This could be implemented as an app with rest API which would create data based on parameters and validate. Maybe there could be a java process running brave tracer for zipkin data creation. |
Sorry, I don't fully understand the use case with dependency links, maybe we can move that to a separate issue? I would like the I am not sure if it can also work for testing K8s / OpenShift templates because there the components will be started by the respective orchestration rather than docker-compose. |
Generally we need two things:
I think it could work for testing k8s deployments too. We could use arquillan-cube to handle deployment of the jaeger resource files and add test resource file with definitions for cc @jpkrohling |
What's the state of this issue? We'll eventually need something like this, so, would be nice to know what is still missing and plan accordingly. |
cc @objectiser |
@jpkrohling there is no update on this issue. I needed it for https://github.com/jaegertracing/jaeger-kubernetes/. In the end I have used junit+arqullian cube |
I assume this is still needed, then. @objectiser is this also part of what we'd need in the near future? |
Not sure - we need to first identify how the full testing would be performed with @jkandasa and once we have a gap analysis this may be appropriate. |
This issue came to my attention as it mentioned We'd be more than happy to collaborate with you if needed 😃 |
At the beginning a small explanation for people who don't know/use xdock
test_driver
:test_driver
's main starts agent, collector and query services usingexec.command(cmd, args)
with hardcoded parameters (flags). It also initializes C* storage by dropping keyspace and then creating the schema ( the script is present in the container).test_driver
container is very nice to use in tests because it contains all necessary jaeger processes. To be specific I use it with testcontainers. It's super simple/easy to write integration tests. For languages where frameworks liketestcontainers
do not exist it can be simply used with docker-compose.I propose to make it more generic and make it work with different storages and maybe be able to pass arbitrary flags to jaeger components.
Any concerns/suggestions are welcome.
The text was updated successfully, but these errors were encountered: