mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-04 00:16:54 -05:00
fix broken test again
This commit is contained in:
parent
cfa7ee88ce
commit
92a6699706
@ -25,11 +25,7 @@ func TestSockOptMark(t *testing.T) {
|
|||||||
|
|
||||||
const mark = 1
|
const mark = 1
|
||||||
dialer := DefaultSystemDialer{}
|
dialer := DefaultSystemDialer{}
|
||||||
conn, err := dialer.Dial(context.Background(), nil, dest, &MemoryStreamConfig{
|
conn, err := dialer.Dial(context.Background(), nil, dest, &SocketConfig{Mark: mark})
|
||||||
SocketSettings: &SocketConfig{
|
|
||||||
Mark: mark,
|
|
||||||
},
|
|
||||||
})
|
|
||||||
common.Must(err)
|
common.Must(err)
|
||||||
defer conn.Close()
|
defer conn.Close()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user