Skip to content

Commit bb51859

Browse files
committed
chore(ci): fix random data race failure on source/node test
1 parent 5eeef23 commit bb51859

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

source/node_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -395,9 +395,7 @@ func testNodeSourceEndpoints(t *testing.T) {
395395
tc := tc
396396
t.Run(tc.title, func(t *testing.T) {
397397
var buf *bytes.Buffer
398-
if len(tc.expectedLogs) == 0 && len(tc.expectedAbsentLogs) == 0 {
399-
t.Parallel()
400-
} else {
398+
if len(tc.expectedLogs) != 0 || len(tc.expectedAbsentLogs) != 0 {
401399
buf = testutils.LogsToBuffer(log.DebugLevel, t)
402400
}
403401

0 commit comments

Comments
 (0)