1
0
Fork 0

Simpler logic

master
Philip O'Toole 2 years ago
parent 89c3dfaa2e
commit 72b47fa19b

@ -91,10 +91,7 @@ func Test_BootstrapperBootSingleNotify(t *testing.T) {
n := -1
done := func() bool {
n++
if n == 5 {
return true
}
return false
return n == 5
}
p := NewAddressProviderString([]string{ts.URL})
@ -146,10 +143,7 @@ func Test_BootstrapperBootSingleNotifyHTTPS(t *testing.T) {
n := -1
done := func() bool {
n++
if n == 5 {
return true
}
return false
return n == 5
}
p := NewAddressProviderString([]string{ts.URL})
@ -194,10 +188,7 @@ func Test_BootstrapperBootSingleNotifyAuth(t *testing.T) {
n := -1
done := func() bool {
n++
if n == 5 {
return true
}
return false
return n == 5
}
p := NewAddressProviderString([]string{ts.URL})
@ -241,10 +232,7 @@ func Test_BootstrapperBootMultiNotify(t *testing.T) {
n := -1
done := func() bool {
n++
if n == 5 {
return true
}
return false
return n == 5
}
p := NewAddressProviderString([]string{ts1.URL, ts2.URL})

Loading…
Cancel
Save