compose/pkg/e2e/testdata
Nicolas De Loof cd1c0ca6ca test(e2e): configs, commit, export and logs scenarios
ImageExists and FileExists join the vocabulary, giving commit and
export a real observable: the legacy tests only asserted the commands
exited 0, the scenarios verify the committed image and the exported
archive actually exist. Both also drop their fixed image tags and
cwd-relative tar outputs for project-scoped tags and temp files, so
parallel runs cannot collide and nothing is left behind in the repo.

TestLocalComposeLogs waits for the echo service to exit before reading
logs (Eventually), closing the race the legacy test tolerated. The
follow and large-logs tests stay legacy: both drive a long-running
command in the background. ps_test.go stays legacy as well — it
verifies ps table/JSON formatting, which is inherently output-shaped.

Fixtures configs/, commit/ and export/ are removed.

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2026-08-18 16:49:56 +02:00
..
TestActiveProfileViaTargetedService test(e2e): lifecycle scenarios — cascade, profiles, healthcheck, recreate 2026-08-18 16:49:56 +02:00
TestCascadeFail test(e2e): lifecycle scenarios — cascade, profiles, healthcheck, recreate 2026-08-18 16:49:56 +02:00
TestCascadeStop test(e2e): lifecycle scenarios — cascade, profiles, healthcheck, recreate 2026-08-18 16:49:56 +02:00
TestCommit test(e2e): configs, commit, export and logs scenarios 2026-08-18 16:49:56 +02:00
TestCommitWithReplicas test(e2e): configs, commit, export and logs scenarios 2026-08-18 16:49:56 +02:00
TestConfigFromEnv test(e2e): configs, commit, export and logs scenarios 2026-08-18 16:49:56 +02:00
TestCreateIdempotentDefaultPlatform
TestCreateIdempotentSharedImageMixedPlatforms
TestCreateLocalMultiPlatformImage
TestDotEnvProfileUsage test(e2e): lifecycle scenarios — cascade, profiles, healthcheck, recreate 2026-08-18 16:49:56 +02:00
TestExplicitProfileUsage test(e2e): lifecycle scenarios — cascade, profiles, healthcheck, recreate 2026-08-18 16:49:56 +02:00
TestExport test(e2e): configs, commit, export and logs scenarios 2026-08-18 16:49:56 +02:00
TestExportWithReplicas test(e2e): configs, commit, export and logs scenarios 2026-08-18 16:49:56 +02:00
TestExposeRange test(e2e): expose, container_name, ipc and wait scenarios 2026-08-18 16:49:56 +02:00
TestImageVolumeImageAlreadyLocal
TestIPC test(e2e): expose, container_name, ipc and wait scenarios 2026-08-18 16:49:56 +02:00
TestLocalComposeLogs test(e2e): configs, commit, export and logs scenarios 2026-08-18 16:49:56 +02:00
TestNoDepsNetworkMode test(e2e): no-deps scenarios — the donor container's absence is the observable 2026-08-18 16:49:56 +02:00
TestNoDepsVolumeFrom test(e2e): no-deps scenarios — the donor container's absence is the observable 2026-08-18 16:49:56 +02:00
TestNoProfileUsage test(e2e): lifecycle scenarios — cascade, profiles, healthcheck, recreate 2026-08-18 16:49:56 +02:00
TestPause
TestPauseServiceAlreadyPaused
TestPauseServiceDoesNotExist
TestPauseServiceNotRunning
TestPullRefreshWindowExplicitPull
TestRawEnvFile test(e2e): scale, secrets and env_file scenarios 2026-08-18 16:49:56 +02:00
TestRecreateWithNoDeps test(e2e): lifecycle scenarios — cascade, profiles, healthcheck, recreate 2026-08-18 16:49:56 +02:00
TestRemoveOrphans test(e2e): TestRemoveOrphans states its real intent — COMPOSE_REMOVE_ORPHANS from .env 2026-08-18 16:49:56 +02:00
TestRestart
TestRunEnvFile test(e2e): scale, secrets and env_file scenarios 2026-08-18 16:49:56 +02:00
TestScaleBasicCases test(e2e): scale, secrets and env_file scenarios 2026-08-18 16:49:56 +02:00
TestScaleDownNoRecreate test(e2e): scale, secrets and env_file scenarios 2026-08-18 16:49:56 +02:00
TestScaleDownRemovesObsolete test(e2e): scale, secrets and env_file scenarios 2026-08-18 16:49:56 +02:00
TestScaleUpAndDownPreserveContainerNumber test(e2e): scale, secrets and env_file scenarios 2026-08-18 16:49:56 +02:00
TestScaleWithDepsCases test(e2e): scale, secrets and env_file scenarios 2026-08-18 16:49:56 +02:00
TestSecretFromEnv test(e2e): scale, secrets and env_file scenarios 2026-08-18 16:49:56 +02:00
TestSecretFromInclude test(e2e): scale, secrets and env_file scenarios 2026-08-18 16:49:56 +02:00
TestStartInterval test(e2e): lifecycle scenarios — cascade, profiles, healthcheck, recreate 2026-08-18 16:49:56 +02:00
TestStartSingleServiceAndDependency test(e2e): start/stop scenarios observe container state, not CLI chatter 2026-08-18 16:49:56 +02:00
TestStartStop test(e2e): start/stop scenarios observe container state, not CLI chatter 2026-08-18 16:49:56 +02:00
TestStartStopWithDependencies test(e2e): start/stop scenarios observe container state, not CLI chatter 2026-08-18 16:49:56 +02:00
TestStartStopWithOneOffs test(e2e): one-off vocabulary — service checks skip run containers 2026-08-18 16:49:56 +02:00
TestUpBuildUnchangedContext
TestUpContainerNameConflict test(e2e): expose, container_name, ipc and wait scenarios 2026-08-18 16:49:56 +02:00
TestUpDryRunMissingImage
TestUpNoDeps test(e2e): start/stop scenarios observe container state, not CLI chatter 2026-08-18 16:49:56 +02:00
TestWaitAndDrop test(e2e): expose, container_name, ipc and wait scenarios 2026-08-18 16:49:56 +02:00
TestWaitOnFaster test(e2e): expose, container_name, ipc and wait scenarios 2026-08-18 16:49:56 +02:00
TestWaitOnSlower test(e2e): expose, container_name, ipc and wait scenarios 2026-08-18 16:49:56 +02:00