/
githubmirror
/
compose
Обзор
Документация
Войти
/
githubmirror
/
compose
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
pkg/e2e/model_test.go
31 строка
1011 B
Guillaume Lours
fix: make e2e tests pass reliably locally with Docker Desktop
18 май 2026, 11:55
18 май 2026, 11:55
8e0d5e1
Код
Авторство
О чём код?
/* Copyright 2020 Docker Compose CLI authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package e2e import ( "testing" ) func TestComposeModel(t *testing.T) { if _, err := findPluginExecutable(DockerModelExecutableName); err != nil { t.Skip("docker-model plugin not available") } c := NewParallelCLI(t) defer c.cleanupWithDown(t, "model-test") c.RunDockerComposeCmd(t, "-p", "model-test", "-f", "./fixtures/model/compose.yaml", "run", "--rm", "test", "sh", "-c", "curl ${FOO_URL}") }