We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5eeef23 commit bb51859Copy full SHA for bb51859
source/node_test.go
@@ -395,9 +395,7 @@ func testNodeSourceEndpoints(t *testing.T) {
395
tc := tc
396
t.Run(tc.title, func(t *testing.T) {
397
var buf *bytes.Buffer
398
- if len(tc.expectedLogs) == 0 && len(tc.expectedAbsentLogs) == 0 {
399
- t.Parallel()
400
- } else {
+ if len(tc.expectedLogs) != 0 || len(tc.expectedAbsentLogs) != 0 {
401
buf = testutils.LogsToBuffer(log.DebugLevel, t)
402
}
403
0 commit comments