Commit c48215d
fix(ci): address flaky test infrastructure issues (#7706)
* fix(ci): address flaky test infrastructure issues
- Add readiness wait after `docker compose up -d testagent` so tests
don't start sending multipart data before busboy is ready
- Copy servicebus emulator config file and restart emulator in the
azure-service-bus CI job (queue.1/topic.1 were missing because
GitHub Actions services don't support volume mounts; the
azure-functions job already does this with docker cp + restart)
- Wait for emulator to be ready after restart before running tests
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
* fix(ci): add SQL Edge health check and emulator ready-wait for azure-service-bus
SQL Server Edge takes 45-90s to start; without a health check the Service Bus
emulator connects before SQL is ready. Add a health check using bash TCP
built-in (nc is not installed in the azure-sql-edge image) so GitHub Actions
gates job steps until SQL is healthy. After docker restart, wait for port 5672
to be ready before running tests.
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
* fix(ci): remove unnecessary emulator config copy from azure-service-bus job
The azure-service-bus plugin tests use the built-in OOB emulator config
(queue.1, topic.1), so copying a custom config file and restarting the
emulator is not needed.
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
---------
Co-authored-by: Claude Sonnet 4.6 <[email protected]>1 parent cf28ba2 commit c48215d
File tree
2 files changed
+11
-0
lines changed- .github
- actions/testagent/start
- workflows
2 files changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
247 | 253 | | |
248 | 254 | | |
249 | 255 | | |
250 | 256 | | |
251 | 257 | | |
| 258 | + | |
| 259 | + | |
252 | 260 | | |
253 | 261 | | |
254 | 262 | | |
| |||
0 commit comments