mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-09-15 21:00:27 +00:00
Update tailscale to v1.102.1
This commit is contained in:
@@ -134,9 +134,7 @@ func TestSystemExchangeConcurrent(t *testing.T) {
|
||||
if i%2 == 1 {
|
||||
qtype = mDNS.TypeAAAA
|
||||
}
|
||||
waitGroup.Add(1)
|
||||
go func() {
|
||||
defer waitGroup.Done()
|
||||
waitGroup.Go(func() {
|
||||
message := new(mDNS.Msg)
|
||||
message.SetQuestion("localhost.", qtype)
|
||||
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
|
||||
@@ -149,7 +147,7 @@ func TestSystemExchangeConcurrent(t *testing.T) {
|
||||
if len(response.Answer) == 0 {
|
||||
errors <- context.DeadlineExceeded
|
||||
}
|
||||
}()
|
||||
})
|
||||
}
|
||||
waitGroup.Wait()
|
||||
close(errors)
|
||||
|
||||
Reference in New Issue
Block a user