fix broken test

pull/1435/head
Darien Raymond 6 years ago
parent 096bbd2c51
commit cfa7ee88ce
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

@ -24,14 +24,12 @@ func TestSockOptMark(t *testing.T) {
defer tcpServer.Close()
const mark = 1
ctx := context.Background()
ctx = ContextWithStreamSettings(ctx, &MemoryStreamConfig{
dialer := DefaultSystemDialer{}
conn, err := dialer.Dial(context.Background(), nil, dest, &MemoryStreamConfig{
SocketSettings: &SocketConfig{
Mark: mark,
},
})
dialer := DefaultSystemDialer{}
conn, err := dialer.Dial(ctx, nil, dest)
common.Must(err)
defer conn.Close()

Loading…
Cancel
Save