mirror of
https://github.com/netbirdio/ice.git
synced 2026-05-22 17:10:58 -07:00
Remove taskLoopInterval from TestConnectivityLite
Connectivity checks are over UDP, if we lost any message message this would cause the test to fail. Resolves #149
This commit is contained in:
+3
-3
@@ -431,6 +431,9 @@ func TestConnectivityOnStartup(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestConnectivityLite(t *testing.T) {
|
||||
lim := test.TimeOut(time.Second * 30)
|
||||
defer lim.Stop()
|
||||
|
||||
report := test.CheckRoutines(t)
|
||||
defer report()
|
||||
|
||||
@@ -461,8 +464,6 @@ func TestConnectivityLite(t *testing.T) {
|
||||
NetworkTypes: supportedNetworkTypes,
|
||||
MulticastDNSMode: MulticastDNSModeDisabled,
|
||||
Net: v.net0,
|
||||
|
||||
taskLoopInterval: time.Hour,
|
||||
}
|
||||
|
||||
aAgent, err := NewAgent(cfg0)
|
||||
@@ -483,7 +484,6 @@ func TestConnectivityLite(t *testing.T) {
|
||||
NetworkTypes: supportedNetworkTypes,
|
||||
MulticastDNSMode: MulticastDNSModeDisabled,
|
||||
Net: v.net1,
|
||||
taskLoopInterval: time.Hour,
|
||||
}
|
||||
|
||||
bAgent, err := NewAgent(cfg1)
|
||||
|
||||
Reference in New Issue
Block a user