Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
136152: roachtest: route schema change workload flakes to foundations r=msbutler a=msbutler

About once a week or so, some backup-restore roachtest flakes on the schema change workload. This patch routes these flakes directly to foundations.

Epic: none

Release note: none

136169: crosscluster/physical: skip replicate manual split r=msbutler a=msbutler

Informs cockroachdb#135968

We don't use this feature anyway.

Release note: none

Co-authored-by: Michael Butler <[email protected]>
  • Loading branch information
craig[bot] and msbutler committed Nov 26, 2024
3 parents 9cd7793 + 60e6b4b + 8eef843 commit e8c843d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions pkg/ccl/crosscluster/physical/replication_stream_e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,8 @@ func TestReplicateManualSplit(t *testing.T) {
defer leaktest.AfterTest(t)()
defer log.Scope(t).Close(t)

skip.WithIssue(t, 135968, "flaky test")

ctx := context.Background()
c, cleanup := replicationtestutils.CreateTenantStreamingClusters(ctx, t, replicationtestutils.DefaultTenantStreamingClustersArgs)
defer cleanup()
Expand Down
8 changes: 6 additions & 2 deletions pkg/cmd/roachtest/tests/backup_restore_roundtrip.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import (
"github.com/cockroachdb/cockroach/pkg/util/hlc"
"github.com/cockroachdb/cockroach/pkg/util/randutil"
"github.com/cockroachdb/cockroach/pkg/util/timeutil"
"github.com/cockroachdb/errors"
)

var (
Expand Down Expand Up @@ -250,7 +251,7 @@ func startBackgroundWorkloads(
}
err = c.RunE(ctx, option.WithNodes(workloadNode), scInit.String())
if err != nil {
return nil, err
return nil, registry.ErrorWithOwner(registry.OwnerSQLFoundations, errors.Wrapf(err, "failed to init schema change workload"))
}

run := func() (func(), error) {
Expand All @@ -267,7 +268,10 @@ func startBackgroundWorkloads(
return c.RunE(ctx, option.WithNodes(workloadNode), tpccRun.String())
})
stopSC := workloadWithCancel(m, func(ctx context.Context) error {
return c.RunE(ctx, option.WithNodes(workloadNode), scRun.String())
if err := c.RunE(ctx, option.WithNodes(workloadNode), scRun.String()); err != nil {
return registry.ErrorWithOwner(registry.OwnerSQLFoundations, errors.Wrapf(err, "failed to run schema change workload"))
}
return nil
})

stopSystemWriter := workloadWithCancel(m, func(ctx context.Context) error {
Expand Down

0 comments on commit e8c843d

Please sign in to comment.