test(19.4-04): gate requires the PHP method map and the plugin internals
TestPHPMethodMap, the zero-edit port and the Docker-free internals join the plugin stage, the Postgres internals the docker stage; the plugin stage points SUMMERCMS_ROOT and USER_PLUGIN at this run's checkouts.
This commit is contained in:
@@ -97,8 +97,9 @@ PLUGIN_TESTS=(
|
|||||||
TestAdminSurfaceHidesCredentials
|
TestAdminSurfaceHidesCredentials
|
||||||
TestImportKeyDirErrorsNameNoKey
|
TestImportKeyDirErrorsNameNoKey
|
||||||
TestParityFixturesHoldNoSecrets
|
TestParityFixturesHoldNoSecrets
|
||||||
|
# Plan 04: the D-14 map, the zero-edit port and the Docker-free internals.
|
||||||
|
TestPHPMethodMap TestZeroEditAdditivity TestBrandingSanitisers TestBuckets TestScheduleConfig
|
||||||
)
|
)
|
||||||
PLUGIN_CONSOLE_TESTS=()
|
|
||||||
|
|
||||||
# userplugin stage: the user plugin's Docker-free suites (-short), by
|
# userplugin stage: the user plugin's Docker-free suites (-short), by
|
||||||
# package pattern relative to the application workspace.
|
# package pattern relative to the application workspace.
|
||||||
@@ -127,8 +128,11 @@ DOCKER_PLUGIN_TESTS=(
|
|||||||
TestUserDeleteCascade
|
TestUserDeleteCascade
|
||||||
# Plan 04: Go-only.
|
# Plan 04: Go-only.
|
||||||
TestConsentRedirectMode
|
TestConsentRedirectMode
|
||||||
|
# Plan 04: the PHP unit cases and the plugin's internals.
|
||||||
|
TestClaimBuilder TestDiscoveryDocument TestKeyRing TestPruneExpired TestSubjectStability
|
||||||
|
TestKeyRingMultiInstanceRace TestKeyRingPreviousAppKey TestMCPStore
|
||||||
|
TestImportWinter TestImportKeyDirErrors TestRotateKeysCommand
|
||||||
)
|
)
|
||||||
DOCKER_PLUGIN_CONSOLE_TESTS=()
|
|
||||||
DOCKER_USER_CLASSES_TESTS=()
|
DOCKER_USER_CLASSES_TESTS=()
|
||||||
DOCKER_USER_ROOT_TESTS=()
|
DOCKER_USER_ROOT_TESTS=()
|
||||||
# The application's OAuth suites on Postgres (D-09), the explicit resource
|
# The application's OAuth suites on Postgres (D-09), the explicit resource
|
||||||
@@ -418,10 +422,9 @@ run_plugin() {
|
|||||||
go_vet "$OAUTHSERVER_PLUGIN" ./...
|
go_vet "$OAUTHSERVER_PLUGIN" ./...
|
||||||
# The Docker suites skip here and run by name in the docker stage.
|
# The Docker suites skip here and run by name in the docker stage.
|
||||||
go_short "$OAUTHSERVER_PLUGIN"
|
go_short "$OAUTHSERVER_PLUGIN"
|
||||||
go_named "$OAUTHSERVER_PLUGIN" . -short "${PLUGIN_TESTS[@]}"
|
# The map checks wristband's test sources and the zero-edit port the user
|
||||||
if ((${#PLUGIN_CONSOLE_TESTS[@]})); then
|
# plugin checkout: point both at this run's checkouts.
|
||||||
go_named "$OAUTHSERVER_PLUGIN" ./console -short "${PLUGIN_CONSOLE_TESTS[@]}"
|
SUMMERCMS_ROOT="$ROOT" USER_PLUGIN="$USER_PLUGIN" go_named "$OAUTHSERVER_PLUGIN" . -short "${PLUGIN_TESTS[@]}"
|
||||||
fi
|
|
||||||
echo "phase19.4 plugin passed"
|
echo "phase19.4 plugin passed"
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -481,10 +484,7 @@ run_docker() {
|
|||||||
fi
|
fi
|
||||||
require_dir "$OAUTHSERVER_PLUGIN" "OAuth server plugin"
|
require_dir "$OAUTHSERVER_PLUGIN" "OAuth server plugin"
|
||||||
require_dir "$FONOTEKA" "application workspace"
|
require_dir "$FONOTEKA" "application workspace"
|
||||||
go_named "$OAUTHSERVER_PLUGIN" . "-timeout 30m" "${DOCKER_PLUGIN_TESTS[@]}"
|
SUMMERCMS_ROOT="$ROOT" go_named "$OAUTHSERVER_PLUGIN" . "-timeout 30m" "${DOCKER_PLUGIN_TESTS[@]}"
|
||||||
if ((${#DOCKER_PLUGIN_CONSOLE_TESTS[@]})); then
|
|
||||||
go_named "$OAUTHSERVER_PLUGIN" ./console "-timeout 20m" "${DOCKER_PLUGIN_CONSOLE_TESTS[@]}"
|
|
||||||
fi
|
|
||||||
if ((${#DOCKER_USER_CLASSES_TESTS[@]})); then
|
if ((${#DOCKER_USER_CLASSES_TESTS[@]})); then
|
||||||
go_named "$FONOTEKA" ./plugins/golem15/user/classes "-timeout 20m" "${DOCKER_USER_CLASSES_TESTS[@]}"
|
go_named "$FONOTEKA" ./plugins/golem15/user/classes "-timeout 20m" "${DOCKER_USER_CLASSES_TESTS[@]}"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user