File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2630,10 +2630,11 @@ describe("tool catalog sync safety", () => {
26302630 ) ;
26312631 expect ( failureWarning ) . toBeDefined ( ) ;
26322632 expect ( failureWarning ) . toContain ( "broken" ) ;
2633- // Both halves: the failure and the cause that names what to fix. A bare
2634- // structural render of the error drops the cause entirely.
2635- expect ( failureWarning ) . toContain ( "upstream listing refused" ) ;
2636- expect ( failureWarning ) . toContain ( "connect ECONNREFUSED" ) ;
2633+ // Keep the failure class and affected connection, without raw provider
2634+ // text or nested causes that can carry credentials or SQL values.
2635+ expect ( failureWarning ) . toContain ( "StorageError" ) ;
2636+ expect ( failureWarning ) . not . toContain ( "upstream listing refused" ) ;
2637+ expect ( failureWarning ) . not . toContain ( "connect ECONNREFUSED" ) ;
26372638 // The healthy peer is not swept into the failure.
26382639 expect ( failureWarning ) . not . toContain ( "healthy" ) ;
26392640 } ) ,
You can’t perform that action at this time.
0 commit comments