Commit Graph
3 Commits
Author SHA1 Message Date
Chris LuandClaude Opus 5.5 2d125113ba test/postgres_flat: helpers fail the test that calls them
paths, tableExists, count, filerList, start and mount take the caller's
*testing.T, so a failure inside a subtest fails that subtest instead of
calling FailNow on the parent and stopping its siblings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011UpvafvK8JpagF94MHWqwK
2026-12-02 07:07:39 -08:00
Chris LuandClaude Opus 5.5 b3b0cee258 test/postgres_flat: set up shared objects before the subtests
The S3 and versioning suites wrote their objects and the second bucket
inside the first subtest, so running one later subtest with -run left
the version ids empty and panicked. The parent test now writes them and
the subtests only check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 07:07:38 -08:00
Chris LuandClaude Opus 5.5 09be534d67 test/postgres_flat: versioned buckets on the postgres_flat store
Versions and delete markers are rows under the key's .versions folder in
the bucket's table. Covers version listings in one page and one version a
page, delete markers, promoting the previous version, the null version
under suspended versioning, and dropping the table once every version and
the bucket are deleted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011UpvafvK8JpagF94MHWqwK
2026-12-02 07:07:38 -08:00