mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 13:05:46 +00:00
controlclient/auto_test: fix flake "peer OS is not linux" on macOS.
We were mis-counting the number of Synchronized messages that we should have been generating.
This commit is contained in:
parent
8f8607b6bf
commit
d0754760e7
@ -361,7 +361,17 @@ func TestControl(t *testing.T) {
|
|||||||
})
|
})
|
||||||
|
|
||||||
runSub(t, "set hostinfo", func(t *testing.T) {
|
runSub(t, "set hostinfo", func(t *testing.T) {
|
||||||
|
c3.Login(nil, LoginDefault)
|
||||||
|
c4.Login(nil, LoginDefault)
|
||||||
|
c3.waitStatus(t, stateAuthenticated)
|
||||||
|
c4.waitStatus(t, stateAuthenticated)
|
||||||
|
c3.waitStatus(t, stateSynchronized)
|
||||||
|
c4.waitStatus(t, stateSynchronized)
|
||||||
|
|
||||||
c3.UpdateEndpoints(9876, []string{"1.2.3.4:3333"})
|
c3.UpdateEndpoints(9876, []string{"1.2.3.4:3333"})
|
||||||
|
c3.waitStatus(t, stateSynchronized)
|
||||||
|
c4.waitStatus(t, stateSynchronized)
|
||||||
|
|
||||||
c4.UpdateEndpoints(9876, []string{"5.6.7.8:1111"})
|
c4.UpdateEndpoints(9876, []string{"5.6.7.8:1111"})
|
||||||
c3.waitStatus(t, stateSynchronized)
|
c3.waitStatus(t, stateSynchronized)
|
||||||
c4.waitStatus(t, stateSynchronized)
|
c4.waitStatus(t, stateSynchronized)
|
||||||
|
Loading…
Reference in New Issue
Block a user