Skip to content

Commit bfa276d

Browse files
craig[bot]knz
andcommitted
107241: testserver: reduce severity of test notice from error to warning r=stevendanna a=knz Epic: CRB-18499 This commit reduces the severity of the informational message printed out when a test tenant is selected, but cannot be started, from ERROR to WARNING. Release note: None Co-authored-by: Raphael 'kena' Poss <[email protected]>
2 parents 3033423 + 8b6baba commit bfa276d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/server/testserver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ func (ts *TestServer) maybeStartDefaultTestTenant(ctx context.Context) error {
558558

559559
clusterID := ts.sqlServer.execCfg.NodeInfo.LogicalClusterID
560560
if err := base.CheckEnterpriseEnabled(ts.st, clusterID(), "SQL servers"); err != nil {
561-
log.Shoutf(ctx, severity.ERROR, "test tenant requested by configuration, but code organization prevents start!\n%v", err)
561+
log.Shoutf(ctx, severity.WARNING, "test tenant requested by configuration, but code organization prevents start!\n%v", err)
562562
// If not enterprise enabled, we won't be able to use SQL Servers so eat
563563
// the error and return without creating/starting a SQL server.
564564
ts.cfg.DisableDefaultTestTenant = true

0 commit comments

Comments
 (0)