mirror of
https://github.com/pion/ice.git
synced 2025-09-26 19:41:11 +08:00
Re-enable ipv6 UDP mux tests in i386
This commit is contained in:
@@ -63,11 +63,7 @@ func TestMultiUDPMux(t *testing.T) {
|
||||
testMultiUDPMuxConnections(t, udpMuxMulti, "ufrag2", udp4)
|
||||
}()
|
||||
|
||||
// Skip ipv6 test on i386
|
||||
const ptrSize = 32 << (^uintptr(0) >> 63)
|
||||
if ptrSize != 32 {
|
||||
testMultiUDPMuxConnections(t, udpMuxMulti, "ufrag3", udp6)
|
||||
}
|
||||
testMultiUDPMuxConnections(t, udpMuxMulti, "ufrag3", udp6)
|
||||
|
||||
wg.Wait()
|
||||
|
||||
@@ -136,11 +132,7 @@ func TestUnspecifiedUDPMux(t *testing.T) {
|
||||
testMultiUDPMuxConnections(t, udpMuxMulti, "ufrag2", udp4)
|
||||
}()
|
||||
|
||||
// Skip IPv6 test on i386
|
||||
const ptrSize = 32 << (^uintptr(0) >> 63)
|
||||
if ptrSize != 32 {
|
||||
testMultiUDPMuxConnections(t, udpMuxMulti, "ufrag3", udp6)
|
||||
}
|
||||
testMultiUDPMuxConnections(t, udpMuxMulti, "ufrag3", udp6)
|
||||
|
||||
wg.Wait()
|
||||
|
||||
|
@@ -107,10 +107,8 @@ func TestUDPMux(t *testing.T) { //nolint:cyclop
|
||||
defer wg.Done()
|
||||
testMuxConnection(t, udpMux, "ufrag2", udp4)
|
||||
}()
|
||||
// Skip IPv6 test on i386
|
||||
if ptrSize != 32 {
|
||||
testMuxConnection(t, udpMux, "ufrag3", udp6)
|
||||
}
|
||||
|
||||
testMuxConnection(t, udpMux, "ufrag3", udp6)
|
||||
} else if ptrSize != 32 || network != udp6 {
|
||||
testMuxConnection(t, udpMux, "ufrag2", network)
|
||||
}
|
||||
|
Reference in New Issue
Block a user