diff --git a/pkg/kv/kvserver/asim/assertion/assert.go b/pkg/kv/kvserver/asim/assertion/assert.go index 71327e218cc0..6f5166e83257 100644 --- a/pkg/kv/kvserver/asim/assertion/assert.go +++ b/pkg/kv/kvserver/asim/assertion/assert.go @@ -405,8 +405,11 @@ func PrintSpanConfigConformanceList(tag string, ranges []roachpb.ConformanceRepo if i == 0 { buf.WriteString(fmt.Sprintf("%s:\n", tag)) } - buf.WriteString(fmt.Sprintf(" %s applying %s\n", printRangeDesc(r.RangeDescriptor), + buf.WriteString(fmt.Sprintf(" %s applying %s", printRangeDesc(r.RangeDescriptor), spanconfigtestutils.PrintSpanConfigDiffedAgainstDefaults(r.Config))) + if i != len(ranges)-1 { + buf.WriteString("\n") + } } return buf.String() } diff --git a/pkg/kv/kvserver/asim/tests/output.go b/pkg/kv/kvserver/asim/tests/output.go index 84814bcdf81e..0e5aae7cd29a 100644 --- a/pkg/kv/kvserver/asim/tests/output.go +++ b/pkg/kv/kvserver/asim/tests/output.go @@ -169,7 +169,7 @@ func (tr testResultsReport) String() string { buf.WriteString(output.eventExecutor.PrintEventsExecuted()) } if failed { - buf.WriteString(fmt.Sprintf("sample%d: failed assertion\n%s", nthSample, output.reason)) + buf.WriteString(fmt.Sprintf("sample%d: failed assertion\n%s\n", nthSample, output.reason)) } else { buf.WriteString(fmt.Sprintf("sample%d: pass\n", nthSample)) }