-
Notifications
You must be signed in to change notification settings - Fork 30
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
Verify number of traces in verify-traces steps #509
Verify number of traces in verify-traces steps #509
Conversation
Unfortunately the diff is a mess because it doesn't detect the renames properly (I had to increment the test step numbers to add a new |
Codecov Report
@@ Coverage Diff @@
## main #509 +/- ##
==========================================
+ Coverage 78.66% 78.74% +0.08%
==========================================
Files 60 60
Lines 4513 4531 +18
==========================================
+ Hits 3550 3568 +18
Misses 809 809
Partials 154 154
Flags with carried forward coverage won't be shown. Click here to find out more.
|
1c99575
to
c23bcd1
Compare
* speed up telemetrygen by generating 10 traces instead of running for 30 seconds * use Tempo API where applicable Resolves: grafana#98 Resolves: grafana#490 Signed-off-by: Andreas Gerstmayr <agerstmayr@redhat.com>
Signed-off-by: Andreas Gerstmayr <agerstmayr@redhat.com>
* we need deterministic (empty) storage before tests which write or read from the storage Signed-off-by: Andreas Gerstmayr <agerstmayr@redhat.com>
…n the upgrade test * use Jaeger API to keep the upgrade test simple (without mounting TLS certs) Signed-off-by: Andreas Gerstmayr <agerstmayr@redhat.com>
c23bcd1
to
fac6db0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe, it would make sense to move the "verification of traces" logic to one script and mount it in a volume or something. Or to build our own image to run the tests. Just as a way to make it easier to read the tests files and avoid copying/pasting if we need to modify something.
Also... would it make sense to pin the registry.gitlab.com/gitlab-ci-utils/curl-jq
image to an specific version? I suppose there should not be problems and should be something easy to fix just in case.
The scripts are not identical, some query the Tempo API, some the Jaeger API, some use mTLS, some use a different (static) namespace. We could create a parameterized script with all the different use cases, but I'm not sure if it's worth it.
+1, done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@andreasgerstmayr did you run the tests on OCP?
Yes |
Resolves: #98
Resolves: #490