@@ -101,7 +101,7 @@ func descExists(sqlDB *gosql.DB, exists bool, id descpb.ID) error {
101101func TestDropDatabase (t * testing.T ) {
102102 defer leaktest .AfterTest (t )()
103103 defer log .Scope (t ).Close (t )
104- params , _ := createTestServerParamsAllowTenants ()
104+ params , _ := createTestServerParams ()
105105 ctx , cancel := context .WithCancel (context .Background ())
106106 params .Knobs .GCJob = & sql.GCJobTestingKnobs {
107107 RunBeforeResume : func (jobID jobspb.JobID ) error {
@@ -262,7 +262,7 @@ CREATE DATABASE t;
262262func TestDropDatabaseDeleteData (t * testing.T ) {
263263 defer leaktest .AfterTest (t )()
264264 defer log .Scope (t ).Close (t )
265- params , _ := createTestServerParamsAllowTenants ()
265+ params , _ := createTestServerParams ()
266266 params .DefaultTestTenant = base .TestDoesNotWorkWithSecondaryTenantsButWeDontKnowWhyYet (156127 )
267267 // Speed up mvcc queue scan.
268268 params .ScanMaxIdleTime = time .Millisecond
@@ -446,7 +446,7 @@ func TestDropIndex(t *testing.T) {
446446 defer log .Scope (t ).Close (t )
447447
448448 const chunkSize = 200
449- params , _ := createTestServerParamsAllowTenants ()
449+ params , _ := createTestServerParams ()
450450 params .Knobs = base.TestingKnobs {
451451 SQLSchemaChanger : & sql.SchemaChangerTestingKnobs {
452452 BackfillChunkSize : chunkSize ,
@@ -561,7 +561,7 @@ func TestDropIndexWithZoneConfigOSS(t *testing.T) {
561561 const chunkSize = 200
562562 const numRows = 2 * chunkSize + 1
563563
564- params , _ := createTestServerParamsAllowTenants ()
564+ params , _ := createTestServerParams ()
565565 params .Knobs = base.TestingKnobs {
566566 SQLSchemaChanger : & sql.SchemaChangerTestingKnobs {BackfillChunkSize : chunkSize },
567567 }
@@ -626,7 +626,7 @@ func TestDropTable(t *testing.T) {
626626 defer leaktest .AfterTest (t )()
627627 defer log .Scope (t ).Close (t )
628628
629- params , _ := createTestServerParamsAllowTenants ()
629+ params , _ := createTestServerParams ()
630630 ctx , cancel := context .WithCancel (context .Background ())
631631 params .Knobs .GCJob = & sql.GCJobTestingKnobs {
632632 RunBeforeResume : func (jobID jobspb.JobID ) error {
@@ -729,7 +729,7 @@ func TestDropTable(t *testing.T) {
729729func TestDropTableDeleteData (t * testing.T ) {
730730 defer leaktest .AfterTest (t )()
731731 defer log .Scope (t ).Close (t )
732- params , _ := createTestServerParamsAllowTenants ()
732+ params , _ := createTestServerParams ()
733733 // Speed up mvcc queue scan.
734734 params .ScanMaxIdleTime = time .Millisecond
735735
@@ -891,7 +891,7 @@ func TestDropTableWhileUpgradingFormat(t *testing.T) {
891891
892892 ctx := context .Background ()
893893
894- params , _ := createTestServerParamsAllowTenants ()
894+ params , _ := createTestServerParams ()
895895 params .ScanMaxIdleTime = time .Millisecond
896896 srv , sqlDBRaw , kvDB := serverutils .StartServer (t , params )
897897 defer srv .Stopper ().Stop (ctx )
@@ -970,7 +970,7 @@ func TestDropTableWhileUpgradingFormat(t *testing.T) {
970970func TestDropTableInTxn (t * testing.T ) {
971971 defer leaktest .AfterTest (t )()
972972 defer log .Scope (t ).Close (t )
973- params , _ := createTestServerParamsAllowTenants ()
973+ params , _ := createTestServerParams ()
974974 s , sqlDB , _ := serverutils .StartServer (t , params )
975975 defer s .Stopper ().Stop (context .Background ())
976976
@@ -1010,7 +1010,7 @@ CREATE TABLE t.kv (k CHAR PRIMARY KEY, v CHAR);
10101010func TestDropAndCreateTable (t * testing.T ) {
10111011 defer leaktest .AfterTest (t )()
10121012 defer log .Scope (t ).Close (t )
1013- params , _ := createTestServerParamsAllowTenants ()
1013+ params , _ := createTestServerParams ()
10141014 params .UseDatabase = "test"
10151015 s , db , _ := serverutils .StartServer (t , params )
10161016 defer s .Stopper ().Stop (context .Background ())
@@ -1054,7 +1054,7 @@ func TestCommandsWhileTableBeingDropped(t *testing.T) {
10541054 defer leaktest .AfterTest (t )()
10551055 defer log .Scope (t ).Close (t )
10561056
1057- params , _ := createTestServerParamsAllowTenants ()
1057+ params , _ := createTestServerParams ()
10581058 // Block schema changers so that the table we're about to DROP is not
10591059 // actually dropped; it will be left in the "deleted" state.
10601060 params .Knobs = base.TestingKnobs {
@@ -1249,7 +1249,7 @@ func TestDropIndexOnHashShardedIndexWithStoredShardColumn(t *testing.T) {
12491249
12501250 // Start a test server and connect to it with notice handler (so we can get and check notices from running queries).
12511251 ctx := context .Background ()
1252- params , _ := createTestServerParamsAllowTenants ()
1252+ params , _ := createTestServerParams ()
12531253 srv := serverutils .StartServerOnly (t , params )
12541254 defer srv .Stopper ().Stop (ctx )
12551255
@@ -1333,7 +1333,7 @@ func TestDropIndexOnHashShardedIndexWithStoredShardColumn(t *testing.T) {
13331333func TestDropDatabaseWithForeignKeys (t * testing.T ) {
13341334 defer leaktest .AfterTest (t )()
13351335 defer log .Scope (t ).Close (t )
1336- params , _ := createTestServerParamsAllowTenants ()
1336+ params , _ := createTestServerParams ()
13371337 srv , sqlDB , kvDB := serverutils .StartServer (t , params )
13381338 defer srv .Stopper ().Stop (context .Background ())
13391339
@@ -1393,7 +1393,7 @@ ORDER BY
13931393func TestDropPhysicalTableGC (t * testing.T ) {
13941394 defer leaktest .AfterTest (t )()
13951395 defer log .Scope (t ).Close (t )
1396- params , _ := createTestServerParamsAllowTenants ()
1396+ params , _ := createTestServerParams ()
13971397
13981398 s , sqlDB , kvDB := serverutils .StartServer (t , params )
13991399 defer s .Stopper ().Stop (context .Background ())
0 commit comments