Skip to content

Broader rework of test infrastructure#51

Open
ericvh wants to merge 6 commits into
lionkov:masterfrom
ericvh:rework
Open

Broader rework of test infrastructure#51
ericvh wants to merge 6 commits into
lionkov:masterfrom
ericvh:rework

Conversation

@ericvh

@ericvh ericvh commented Apr 26, 2026

Copy link
Copy Markdown
Collaborator

This is a broader rework inclusive of the modernization changes from before. I'm trying to improve the testing framework, specifically against the synthetic file systems since those are our focus.

ericvh and others added 3 commits May 9, 2026 10:06
Introduce go.mod with Go 1.26 toolchain and fix vet/platform issues in client tests so go test ./... passes on current Go.

Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Document the repository structure, module-based usage, and track modernization changes and follow-ups.

Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
- Add a multi-stage Dockerfile to run go test (and optional -race) under Linux from macOS/Windows.
- Add end-to-end client/server integration tests
- ci: run Docker-based tests on push and PR
- Add TCP-based e2e tests covering basic CRUD and directory listing against both the ufs server and the synthetic file server (Fsrv).
- Add QEMU Linux-kernel 9p client smoke test harness

Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@ericvh ericvh changed the title Broader rework Broader rework of test infrastructure May 9, 2026
ericvh and others added 3 commits May 9, 2026 10:24
Add tailored unit tests for each example 9P server and split kernel-client
QEMU e2e into per-filesystem jobs, with a dedicated tlsramfs userspace stage.
Also update the kernel mount smoke runner and docs for the new harness.

Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Document how to build and serve synthetic filesystems with p/srv, including
common patterns like control files, clone allocators, and streaming nodes.

Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Reword the README so it reads as upstream documentation: stop
referring to a "forked branch" or "this fork" when describing the Go
module, kernel-client harness, and v9fs/test docker harness.

Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>

@ericvh ericvh left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is all new test focus -- tests could always be better, but this lays down the scaffolding for that.

@ericvh ericvh marked this pull request as ready for review May 9, 2026 15:28
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.

1 participant