chore(19.1): require chatvideo user-deletion test in phase 19.1 gate
- PG_CHATVIDEO_TESTS runs TestUserDeletionReassignsSession (WR-05) - self-test lists the token and pins it in the PG_CHATVIDEO_TESTS line - NOT RUN postgres banner names it
This commit is contained in:
@@ -83,7 +83,7 @@ PG_USERFRIENDS_TESTS=(TestHTTPTracer TestUserDeletingHeir TestGroupVisibilityGat
|
||||
PG_FORUM_TESTS=(TestHTTPTracer TestUserDeletionAnonymizes)
|
||||
PG_CHATBOTS_TESTS=(TestHTTPTracer TestUserDeletionCascadesBotFlag)
|
||||
PG_HERALD_TESTS=(TestHTTPTracer TestSendEventRollback)
|
||||
PG_CHATVIDEO_TESTS=(TestHTTPTracer TestReconcileEmptyRoom)
|
||||
PG_CHATVIDEO_TESTS=(TestHTTPTracer TestReconcileEmptyRoom TestUserDeletionReassignsSession)
|
||||
|
||||
usage() {
|
||||
cat >&2 <<'EOF'
|
||||
@@ -250,12 +250,18 @@ run_self_test() {
|
||||
TestReconcileEmptyRoom TestAccessResolverDefault TestPHPMethodMap \
|
||||
TestFixtureAbsentFromProduction TestSendEventRollback \
|
||||
TestUserDeletingHeir TestUserDeletionAnonymizes TestUserDeletionCascadesBotFlag \
|
||||
TestUserDeletionReassignsSession \
|
||||
SherClockHolmes/webpush-go livekit/server-sdk-go/v2; do
|
||||
grep -qF "$token" "${BASH_SOURCE[0]}" || {
|
||||
echo "refuse: self-test missing required token $token" >&2
|
||||
return 1
|
||||
}
|
||||
done
|
||||
# The token loop matches its own line, so pin the postgres list itself.
|
||||
grep -qE '^PG_CHATVIDEO_TESTS=\(.*\bTestUserDeletionReassignsSession\b' "${BASH_SOURCE[0]}" || {
|
||||
echo "refuse: PG_CHATVIDEO_TESTS does not require TestUserDeletionReassignsSession" >&2
|
||||
return 1
|
||||
}
|
||||
if grep -nE '^run_admin|^run_layers' "${BASH_SOURCE[0]}"; then
|
||||
echo "refuse: admin/layers stage present" >&2
|
||||
return 1
|
||||
@@ -406,7 +412,8 @@ TestUserDeletingHeir), sm-forum-plugin (TestHTTPTracer,
|
||||
TestUserDeletionAnonymizes), sm-chatbots-plugin (TestHTTPTracer,
|
||||
TestUserDeletionCascadesBotFlag), sm-herald-plugin (TestHTTPTracer,
|
||||
TestSendEventRollback) and sm-chatvideo-plugin (TestHTTPTracer,
|
||||
TestReconcileEmptyRoom) did NOT run. Run on a Docker host before
|
||||
TestReconcileEmptyRoom, TestUserDeletionReassignsSession) did NOT run.
|
||||
Run on a Docker host before
|
||||
/msd-verify-work:
|
||||
bash scripts/check-phase19.1.sh postgres
|
||||
************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user