WIP
This commit is contained in:
@@ -19,7 +19,6 @@ func TestRoundTrip(t *testing.T) {
|
||||
{
|
||||
name: "client ping",
|
||||
ping: control.Ping{
|
||||
ID: 42,
|
||||
PingTS: 1234567890,
|
||||
SrcV4: netip.MustParseAddrPort("1.2.3.4:51820"),
|
||||
Dst: netip.MustParseAddrPort("5.6.7.8:51820"),
|
||||
@@ -28,7 +27,6 @@ func TestRoundTrip(t *testing.T) {
|
||||
{
|
||||
name: "server response",
|
||||
ping: control.Ping{
|
||||
ID: 42,
|
||||
PingTS: 1234567890,
|
||||
SrcV4: netip.MustParseAddrPort("5.6.7.8:51820"),
|
||||
Dst: netip.MustParseAddrPort("1.2.3.4:9999"),
|
||||
@@ -37,7 +35,6 @@ func TestRoundTrip(t *testing.T) {
|
||||
{
|
||||
name: "IPv6 only",
|
||||
ping: control.Ping{
|
||||
ID: 1,
|
||||
PingTS: 999,
|
||||
SrcV6: netip.MustParseAddrPort("[2001:db8::1]:51820"),
|
||||
Dst: netip.MustParseAddrPort("[2001:db8::2]:51820"),
|
||||
@@ -46,7 +43,6 @@ func TestRoundTrip(t *testing.T) {
|
||||
{
|
||||
name: "dual stack",
|
||||
ping: control.Ping{
|
||||
ID: 7,
|
||||
PingTS: 555,
|
||||
SrcV4: netip.MustParseAddrPort("1.2.3.4:51820"),
|
||||
SrcV6: netip.MustParseAddrPort("[2001:db8::1]:51820"),
|
||||
@@ -56,7 +52,6 @@ func TestRoundTrip(t *testing.T) {
|
||||
{
|
||||
name: "no src known",
|
||||
ping: control.Ping{
|
||||
ID: 3,
|
||||
Dst: netip.MustParseAddrPort("5.6.7.8:51820"),
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user