mirror of
https://github.com/fumiama/terasu-cloudflared.git
synced 2026-06-20 02:30:27 +08:00
TUN-3848: Use transport logger for h2mux
This commit is contained in:
@@ -44,7 +44,7 @@ func TestRegisterServerLocation(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestObserverEventsDontBlock(t *testing.T) {
|
||||
observer := NewObserver(&log, false)
|
||||
observer := NewObserver(&log, &log, false)
|
||||
var mu sync.Mutex
|
||||
observer.RegisterSink(EventSinkFunc(func(_ Event) {
|
||||
// callback will block if lock is already held
|
||||
|
||||
Reference in New Issue
Block a user