Commit 16226a4
authored
chore(ci): wait for server in integration test runs after config restore (#3540)
The integration workflow can start policy-service BATS while the
background OpenTDF server is still restarting after tdf-roundtrips
restores opentdf.yaml. That leaves the next step racing a brief
connection-refused window.
This waits for the restored config to be picked up and the server health
check to return before tdf-roundtrips exits, so the following BATS step
starts against a ready server.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Tests**
* Improved test suite stability by ensuring services are fully ready
after restore: added a brief initialization pause, active health polling
before continuing, and explicit failure if the service never becomes
healthy.
<!-- review_stack_entry_start -->
[](https://app.coderabbit.ai/change-stack/opentdf/platform/pull/3540?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack)
<!-- review_stack_entry_end -->
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Signed-off-by: jakedoublev <jake.vanvorhis@virtru.com>1 parent e95fb70 commit 16226a4
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| 162 | + | |
| 163 | + | |
162 | 164 | | |
163 | 165 | | |
164 | 166 | | |
| |||
357 | 359 | | |
358 | 360 | | |
359 | 361 | | |
| 362 | + | |
| 363 | + | |
360 | 364 | | |
361 | 365 | | |
0 commit comments