Skip to content

test: guard floci teardown in integration tests#1

Merged
hectorvent merged 1 commit into
floci-io:mainfrom
huda-code:feat/node-validation
May 13, 2026
Merged

test: guard floci teardown in integration tests#1
hectorvent merged 1 commit into
floci-io:mainfrom
huda-code:feat/node-validation

Conversation

@huda-code
Copy link
Copy Markdown
Contributor

Summary
Guards integration test teardown when FlociContainer.start() fails or times out.
Changes

  • Added defensive checks before calling floci.stop() in integration test afterAll() hooks
  • Prevents secondary undefined teardown errors when container startup does not complete successfully
    Validation
  • npm run typecheck
  • npm run test:unit
    Notes
    While validating locally on WSL + Docker Desktop, I observed intermittent integration startup/readiness timeouts around FlociContainer.start(). This change helps keep the original startup failure visible without additional teardown noise.

@hectorvent hectorvent merged commit b559633 into floci-io:main May 13, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants