Skip to content

Expand integration test coverage - #94

Open
nickvanw wants to merge 1 commit into
mainfrom
expand-integration-test-coverage
Open

Expand integration test coverage#94
nickvanw wants to merge 1 commit into
mainfrom
expand-integration-test-coverage

Conversation

@nickvanw

Copy link
Copy Markdown
Contributor

Summary

  • add integration coverage for composite primary keys, selected-column projections, and multi-table syncs
  • add interrupted-copy resume coverage for both simple and composite primary keys
  • add sharded interrupted-copy resume coverage against the configured sharded keyspace
  • keep this PR non-stacked on main; it intentionally excludes the direct VStream stop-boundary fix in Stop direct VStream at target VGTID #93

Tests

  • env GOCACHE=/tmp/go-build go test ./...
  • env GOCACHE=/tmp/go-build go test -tags=integration -run '^$' ./cmd/internal/server/handlers
  • env GOCACHE=/tmp/go-build DATABASE_* DATABASE_SHARDED_NAME=fivetran_sharded DATABASE_SHARDED_REQUIRED=1 go test -tags=integration -count=1 -timeout 60m -v ./cmd/internal/server/handlers

The full integration suite passed against the live PlanetScale test database. The sharded suite is still slower on main until #93 lands, but it passes.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant