diff --git a/pkg/ccl/serverccl/BUILD.bazel b/pkg/ccl/serverccl/BUILD.bazel index e6474e47f2cf..a119293f3d47 100644 --- a/pkg/ccl/serverccl/BUILD.bazel +++ b/pkg/ccl/serverccl/BUILD.bazel @@ -55,6 +55,7 @@ go_test( "//pkg/ccl/kvccl", "//pkg/ccl/utilccl/licenseccl", "//pkg/clusterversion", + "//pkg/jobs", "//pkg/kv/kvserver/liveness", "//pkg/kv/kvserver/liveness/livenesspb", "//pkg/multitenant/tenantcapabilities", diff --git a/pkg/ccl/serverccl/server_controller_test.go b/pkg/ccl/serverccl/server_controller_test.go index bb9643928c55..5f76d91eb9b2 100644 --- a/pkg/ccl/serverccl/server_controller_test.go +++ b/pkg/ccl/serverccl/server_controller_test.go @@ -21,6 +21,7 @@ import ( "time" "github.com/cockroachdb/cockroach/pkg/base" + "github.com/cockroachdb/cockroach/pkg/jobs" "github.com/cockroachdb/cockroach/pkg/multitenant/tenantcapabilities" "github.com/cockroachdb/cockroach/pkg/roachpb" "github.com/cockroachdb/cockroach/pkg/server" @@ -391,6 +392,9 @@ func TestServerControllerMultiNodeTenantStartup(t *testing.T) { numNodes := 3 tc := serverutils.StartNewTestCluster(t, numNodes, base.TestClusterArgs{ ServerArgs: base.TestServerArgs{ + Knobs: base.TestingKnobs{ + JobsTestingKnobs: jobs.NewTestingKnobsWithShortIntervals(), + }, DefaultTestTenant: base.TestTenantDisabled, }}) defer func() {