-
Notifications
You must be signed in to change notification settings - Fork 2.2k
fix(ci): fix Splunk integration test flakiness and re-enable #25879
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -139,6 +139,7 @@ jobs: | |
| "prometheus", | ||
| "pulsar", | ||
| "redis", | ||
| "splunk", | ||
| "webhdfs" | ||
| ] | ||
| steps: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,11 +8,17 @@ services: | |
| - SPLUNK_PASSWORD=password | ||
| - SPLUNK_HEC_TOKEN=abcd1234 | ||
| volumes: | ||
| - ../data/splunk/default.yml:/tmp/defaults/default.yml | ||
| - ../data/default.yml:/tmp/defaults/default.yml | ||
| ports: | ||
| - 8000:8000 | ||
| - 8088:8088 | ||
| - 8089:8089 | ||
| healthcheck: | ||
| test: ["CMD", "curl", "-f", "http://localhost:8088/services/collector/health"] | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
In the inspected CI path, Useful? React with 👍 / 👎. |
||
| interval: 10s | ||
| timeout: 5s | ||
| retries: 30 | ||
| start_period: 60s | ||
|
|
||
| networks: | ||
| default: | ||
|
|
||
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.
With this corrected mount,
data/default.ymlis now applied and adds theack-tokeninput withuseACK: true, but the shared log and metric test configs still callget_token()and take the first token returned by Splunk; this patch only pins the non-ack token in one test even though the new comment notesACK_TOKENcan be returned first. When that happens, ordinary sink tests unexpectedly exercise indexer acknowledgements with the 10s default query interval, making the re-enabled Splunk suite slow or flaky. Pin the common test configs toDEFAULT_TOKENor select the intended token by name.Useful? React with 👍 / 👎.