mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-06 01:26:59 +02:00
chore(ci): fix random data race failure on source/node test
This commit is contained in:
parent
5eeef23b1d
commit
bb5185966c
@ -395,9 +395,7 @@ func testNodeSourceEndpoints(t *testing.T) {
|
||||
tc := tc
|
||||
t.Run(tc.title, func(t *testing.T) {
|
||||
var buf *bytes.Buffer
|
||||
if len(tc.expectedLogs) == 0 && len(tc.expectedAbsentLogs) == 0 {
|
||||
t.Parallel()
|
||||
} else {
|
||||
if len(tc.expectedLogs) != 0 || len(tc.expectedAbsentLogs) != 0 {
|
||||
buf = testutils.LogsToBuffer(log.DebugLevel, t)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user