e2e

package
v0.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package e2e holds end-to-end "deploy everything" tests for Fuse.

deploy_test.go assembles the full orchestrator stack the way server/main.go does — FleetManager + the Firecracker provider + the chi REST router + the /health and /ready probes — and drives a complete VM lifecycle (provision → snapshot → restore → drain → destroy) over real HTTP against an httptest server.

By default it runs against the in-memory Firecracker stub provider, so it is hermetic and needs no host, network, or KVM. To run the same lifecycle against a real Firecracker host, point it at one via FUSE_E2E_FIRECRACKER_URL / FUSE_E2E_FIRECRACKER_TOKEN (see deploy_test.go); when unset the test uses the stub.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL