Skip to content

changefeedccl: investigate why TestSQLSink does not work with a shared process virtual cluster #112863

@herkolategan

Description

@herkolategan

Describe the problem

TestSQLSink fails with (when running a shared process virtual cluster):

        	Error Trace:	/Users/herko/go/src/github.com/cockroachdb/cockroach/pkg/ccl/changefeedccl/sink_test.go:500
        	Error:      	Received unexpected error:
        	            	unknown SQL sink query parameters: options
        	            	(1) attached stack trace
        	            	  -- stack trace:
        	            	  | github.com/cockroachdb/cockroach/pkg/ccl/changefeedccl.makeSQLSink
        	            	  | 	/Users/herko/go/src/github.com/cockroachdb/cockroach/pkg/ccl/changefeedccl/sink_sql.go:98
        	            	  | github.com/cockroachdb/cockroach/pkg/ccl/changefeedccl.TestSQLSink
        	            	  | 	/Users/herko/go/src/github.com/cockroachdb/cockroach/pkg/ccl/changefeedccl/sink_test.go:499

How to reproduce

Set the following in TestServerArgs to force a shared process tenant

DefaultTestTenant: base.SharedTestTenantAlwaysEnabled,

Expected behavior
The test should pass when running with a shared process virtual cluster, unless after investigation the test is expected not to work with one.

Ref: #112857
Epic: CRDB-26687

Jira issue: CRDB-32648

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-multitenancyRelated to multi-tenancyC-investigationFurther steps needed to qualify. C-label will change.T-cdc

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions