(t *testing.T)
| 21 | ) |
| 22 | |
| 23 | func TestExport(t *testing.T) { |
| 24 | const projectName = "e2e-export-service" |
| 25 | c := NewParallelCLI(t) |
| 26 | |
| 27 | cleanup := func() { |
| 28 | c.RunDockerComposeCmd(t, "--project-name", projectName, "down", "--timeout=0", "--remove-orphans") |
| 29 | } |
| 30 | t.Cleanup(cleanup) |
| 31 | cleanup() |
| 32 | |
| 33 | c.RunDockerComposeCmd(t, "-f", "./fixtures/export/compose.yaml", "--project-name", projectName, "up", "-d", "service") |
| 34 | c.RunDockerComposeCmd(t, "--project-name", projectName, "export", "-o", "service.tar", "service") |
| 35 | } |
| 36 | |
| 37 | func TestExportWithReplicas(t *testing.T) { |
| 38 | const projectName = "e2e-export-service-with-replicas" |
nothing calls this directly
no test coverage detected