Update plan tests to use Europa constructs

Signed-off-by: Joel Longtine <joel@dagger.io>
This commit is contained in:
Joel Longtine
2022-02-22 13:21:32 -07:00
parent 2caccc69e8
commit 70c0f362ea
7 changed files with 115 additions and 82 deletions

View File

@@ -16,12 +16,11 @@ setup() {
assert_failure
}
# TODO/FIXME: this test is broken, it's not asserting that the proxy is not running
# @test "plan/proxy invalid value" {
# cd "$TESTDIR"
# run "$DAGGER" up ./plan/proxy/invalid_value.cue
# assert_failure
# }
@test "plan/proxy invalid value" {
cd "$TESTDIR"
run "$DAGGER" up ./plan/proxy/invalid_value.cue
assert_failure
}
@test "plan/proxy incomplete unix" {
cd "$TESTDIR"
@@ -29,12 +28,11 @@ setup() {
assert_failure
}
# TODO/FIXME: this test is broken, it's not asserting that the proxy is not running
# @test "plan/proxy incomplete service" {
# cd "$TESTDIR"
# run "$DAGGER" up ./plan/proxy/incomplete_service.cue
# assert_output --partial "pipeline was partially executed because of missing inputs"
# }
@test "plan/proxy incomplete service" {
cd "$TESTDIR"
run "$DAGGER" up ./plan/proxy/incomplete_service.cue
assert_output --partial 'mount "docker" is not concrete'
}
@test "plan/proxy unix" {
cd "$TESTDIR"