functional2: resident services during tests #866

Open
opened 2025-06-22 10:33:23 +00:00 by raito · 1 comment
Owner

Certain tests may require a resident service to be running, e.g. a S3 service (Garage).

It would be nice if F2 could provide a way to explain how to start these, interact with them for the initialization phase (setup temporary directories) and interact with them in test harness (e.g. obtain S3 tokens).

This way, we could reduce our reliance on NixOS tests for certain needs.

Certain tests may require a resident service to be running, e.g. a S3 service (Garage). It would be nice if F2 could provide a way to explain how to start these, interact with them for the initialization phase (setup temporary directories) and interact with them in test harness (e.g. obtain S3 tokens). This way, we could reduce our reliance on NixOS tests for certain needs.
Owner

There's some prior art in that we've invented a tiny http server component that can be used in functional2, but having process management tools like this would be great indeed.

There's some prior art in that we've invented a tiny http server component that can be used in functional2, but having process management tools like this would be great indeed.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#866
No description provided.