From d1836d1165dd6610f6094c2800c91e23e6c19282 Mon Sep 17 00:00:00 2001 From: Wenyi Hu Date: Wed, 8 May 2024 20:25:05 -0400 Subject: [PATCH] roachtest/cdc: enable runCDCBackfillRollingRestart on nightlies This patch adds runCDCBackfillRollingRestart as a roachtest running on nightlies. Epic: None Resolves: None --- pkg/cmd/roachtest/tests/cdc.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/cmd/roachtest/tests/cdc.go b/pkg/cmd/roachtest/tests/cdc.go index 3fdb9b322799..73980f1b135c 100644 --- a/pkg/cmd/roachtest/tests/cdc.go +++ b/pkg/cmd/roachtest/tests/cdc.go @@ -911,7 +911,7 @@ func runCDCBank(ctx context.Context, t test.Test, c cluster.Cluster) { func runCDCBackfillRollingRestart(ctx context.Context, t test.Test, c cluster.Cluster) { const rowCount, splitCount = 1000000, 500 startOpts := option.DefaultStartOpts() - ips, err := c.InternalIP(ctx, t.L(), c.Node(1)) + ips, err := c.ExternalIP(ctx, t.L(), c.Node(1)) sinkURL := fmt.Sprintf("https://%s:9707", ips[0]) sink := &http.Client{Transport: &http.Transport{TLSClientConfig: &tls.Config{InsecureSkipVerify: true}}} if err != nil { @@ -1290,7 +1290,7 @@ func registerCDC(r registry.Registry) { Owner: registry.OwnerCDC, Cluster: r.MakeClusterSpec(5), RequiresLicense: true, - CompatibleClouds: registry.OnlyLocal, + CompatibleClouds: registry.AllExceptAWS, Suites: registry.Suites(registry.Nightly), Timeout: time.Minute * 15, Run: func(ctx context.Context, t test.Test, c cluster.Cluster) {