Skip to content

test: add revision tests - #3257

Open
miparnisari wants to merge 7 commits into
mainfrom
moar-tests
Open

test: add revision tests#3257
miparnisari wants to merge 7 commits into
mainfrom
moar-tests

Conversation

@miparnisari

@miparnisari miparnisari commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Changes

  • added TestQuantizedRevisionStaysReadable which was broken on Spanner
    • fixed Spanner (thread gcWindow config)
  • added TestSnapshotReadStability which was broken on memdb
    • fixed MemdDB
  • added TestReadYourWrites and TestReadYourConcurrentWrites

@miparnisari
miparnisari requested a review from a team as a code owner July 31, 2026 18:24
@codecov

codecov Bot commented Jul 31, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 96.66667% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
internal/testserver/datastore/spanner.go 50.00% 0 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

@miparnisari
miparnisari force-pushed the moar-tests branch 2 times, most recently from c9f6173 to 4231fe9 Compare August 4, 2026 16:34
Base automatically changed from refactor-tests to main August 4, 2026 17:30
@miparnisari
miparnisari force-pushed the moar-tests branch 2 times, most recently from 21e4bd0 to dae9d1e Compare August 4, 2026 20:46
@miparnisari miparnisari changed the title test: add revision test test: add revision tests Aug 21, 2026
github-actions[bot]

This comment was marked as off-topic.

@github-actions github-actions Bot added area/datastore Affects the storage system area/tooling Affects the dev or user toolchain (e.g. tests, ci, build tools) labels Aug 21, 2026
tstirrat15
tstirrat15 previously approved these changes Aug 21, 2026

@tstirrat15 tstirrat15 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM pending fixing that test

require.EventuallyWithT(t, func(collect *assert.CollectT) {
instancesClient, err := instances.NewInstanceAdminClient(ctx)
if !assert.NoError(t, err) {
if !assert.NoError(collect, err) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

listen_addresses = '*'
max_connections = 3000
track_commit_timestamp = 1
autovacuum=off No newline at end of file

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI when we moved to Testcontainers, we lost this. #3163 (comment)

@tstirrat15 tstirrat15 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/datastore Affects the storage system area/tooling Affects the dev or user toolchain (e.g. tests, ci, build tools) Skip-Changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants