mirror of
https://github.com/supabase/supabase.git
synced 2026-10-18 15:49:09 +03:00
The "warns on CREATE TABLE without RLS" spec used a fixed `pw_rls_smoke_test` table name. With 3 self-hosted workers in parallel, two workers can race: worker A's `dropTable` lands between worker B's "Run and enable RLS" click and worker B's verifying `pg_class` query, leaving `rows[0]?.relrowsecurity` as undefined and asserting `expect(undefined).toBe(true)`. Suffix the table with `test.info().parallelIndex`, matching the pattern used elsewhere in the suite for parallel-safe per-worker tables.