-
Notifications
You must be signed in to change notification settings - Fork 2k
tests: runtime: plugins: Enable to build and run runtime testcases on windows #12092
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
Merged
edsiper
merged 54 commits into
master
from
cosmo0920-enable-runtime-testcases-on-windows
Jul 13, 2026
Merged
Changes from all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
5849df7
tests: runtime: Enadle http_client_chunked test in Windows
cosmo0920 51575da
tests: runtime: Don't use symlink for dummy and random tests
cosmo0920 c1680e1
tests: runtime: Enable core_chunk_trace test on Windows
cosmo0920 5a48444
tests: runtime: Enable core_accept_timeout test case on Windows
cosmo0920 ff12e78
tests: runtime: Enabled system systems test cases on Windows
cosmo0920 a97154b
tests: runtime: Enable core-timeout test case on Windows
cosmo0920 2ccc936
tests: runtime: Enable core_engine test cases on Windows
cosmo0920 872d203
tests: runtime: Enable out_counter test cases on Windows
cosmo0920 8eab357
tests: runtime: Enable in_syslog tests on Windows
cosmo0920 f8c5aa6
tests: runtime: Enable in_forward tests on Windows
cosmo0920 ae11766
tests: runtime: Enable in_opentelemetry_routing tests on Windows
cosmo0920 3a2dbd1
tests: runtime: Make MSVC compatible on aws_client_mock
cosmo0920 fc8731c
tests: runtime: Enable in_http tests on Windows
cosmo0920 5d29e04
tests: runtime: Use platform compatible flb_pthread.h
cosmo0920 bfed143
tests: runtime: Make Windows platform compatible for runtime helper
cosmo0920 9bffd91
tests: runtime: Enable in_tail test case on Windows
cosmo0920 279ea5e
tests: runtime: Enable runtime tests on Windows
cosmo0920 02d7034
tests: runtime: Enable tests on Windows
cosmo0920 318df83
tests: runtime: Teardown correctly even if Windows
cosmo0920 1e3b15d
tests: runtime: Teardown correctly on Windows
cosmo0920 816d78a
tests: runtime: Add more test cases for Windows
cosmo0920 8aca32b
tests: runtime: Adjust building rules for Windows
cosmo0920 825cc31
tests: runtime: Adjust regex expression to include prom files
cosmo0920 617e66f
tests: runtime: Teardown cleanly even if Windows
cosmo0920 8a409de
tests: runtime: Specify service settings correctly
cosmo0920 a90bf7f
tests: runtime: Adopt to use Windows path separators
cosmo0920 67f04ea
tests: runtime: Exclude a test case to run on Windows
cosmo0920 e3c541b
tests: runtime: Make Windows compatible
cosmo0920 c7281a0
tests: runtime: Shorten stuck period
cosmo0920 84896f3
tests: runtime: Teardown cleanly even if on Windows
cosmo0920 1f26789
tests: runtime: Make temporary directories to follow Window way
cosmo0920 870a2e6
filter_kubernetes: Make more Windows compatible
cosmo0920 491923d
filter_throttle: Make teardown more cleanly
cosmo0920 eac90eb
in_kubernetes_events: Use rigid width of number bytes
cosmo0920 3da5248
out_loki: Use binary flag on opening on Windows
cosmo0920 4b6344f
out_syslog: Make Windows compatible shutdown sequence
cosmo0920 7657d8d
in_tail: Make ridig scanning globs on Windows
cosmo0920 eed770c
out_s3: Use Windows compatible temporary paths
cosmo0920 64b8f8e
tests: runtime: Make test be Windows compatible
cosmo0920 ddecdc9
tests: in_kubernetes_events: Make tests be Windows compatible
cosmo0920 55f32d1
tests: runtime: use binary mode on opening on Windows
cosmo0920 973a12b
tests: runtime: Use a specific time format on Windows
cosmo0920 a73c5a2
tests: runtime: Remove a needless type casting
cosmo0920 eeb1bf6
cmake: Provide out_exit by default on Windows
cosmo0920 4669264
tests: runtime_shell: Make script test cases be Windows compatible
cosmo0920 13c8aa5
tests: runtime: Treat simple system test cases as special cases
cosmo0920 8a88c4c
tests: runtime: Adjust teardown operation order
cosmo0920 d99c68e
build: tests: runtime: Enable and run event_test correctly
cosmo0920 776f8c9
in_event_test: Make Windows compatible
cosmo0920 6a7184f
tests: runtime: Make Windows compatible
cosmo0920 4b3046d
tests: runtime: Shorten waiting period for filter_kubernetes
cosmo0920 8bab873
tests: runtime: Shorten waiting period for out_stackdriver
cosmo0920 95aa7f4
out_s3: Provide shortened wainting period for testing
cosmo0920 911c18a
tests: runtime: Shorten waiting period for out_s3
cosmo0920 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
🩺 Stability & Availability | 🟡 Minor | ⚡ Quick win
Shutdown may block for the full sleep duration on Windows.
pthread_testcancel()aftersleep()correctly enables cancellation, butpthread_join()incb_throttle_exit(Line 285) will block until the sleep completes. Ifctx->ticker_data.secondsis large, shutdown could be delayed significantly. Consider breaking the sleep into smaller increments withpthread_testcancel()between them for faster cancellation response.♻️ Suggested improvement
📝 Committable suggestion
🤖 Prompt for AI Agents