This commit is contained in:
bcmmbaga 2024-07-30 17:15:47 +03:00
parent 8d9ea40bf1
commit cf211f6337
No known key found for this signature in database
GPG Key ID: 7249A19D20613553
4 changed files with 9 additions and 9 deletions

View File

@ -389,9 +389,9 @@ func TestDNSAccountPeerUpdate(t *testing.T) {
} }
}) })
// Re-saving unchanged DNS settings with used groups should update account peers and not send peer update // Saving unchanged DNS settings with used groups should update account peers and not send peer update
// since there is no change in the network map // since there is no change in the network map
t.Run("re-saving unchanged dns setting with used groups", func(t *testing.T) { t.Run("saving unchanged dns setting with used groups", func(t *testing.T) {
done := make(chan struct{}) done := make(chan struct{})
go func() { go func() {
peerShouldNotReceiveUpdate(t, updMsg) peerShouldNotReceiveUpdate(t, updMsg)

View File

@ -381,9 +381,9 @@ func TestGroupAccountPeerUpdate(t *testing.T) {
} }
}) })
// Re-saving unchanged group should trigger account peers update and not send peer update // Saving an unchanged group should trigger account peers update and not send peer update
// since there is no change in the network map // since there is no change in the network map
t.Run("re-saving unchanged group", func(t *testing.T) { t.Run("saving unchanged group", func(t *testing.T) {
done := make(chan struct{}) done := make(chan struct{})
go func() { go func() {
peerShouldNotReceiveUpdate(t, updMsg) peerShouldNotReceiveUpdate(t, updMsg)

View File

@ -901,9 +901,9 @@ func TestPolicyAccountPeerUpdate(t *testing.T) {
} }
}) })
// Re-saving unchanged policy should trigger account peers update and not send peer update // Saving unchanged policy should trigger account peers update and not send peer update
// since there is no change in the network map // since there is no change in the network map
t.Run("re-saving unchanged policy", func(t *testing.T) { t.Run("saving unchanged policy", func(t *testing.T) {
done := make(chan struct{}) done := make(chan struct{})
go func() { go func() {
peerShouldNotReceiveUpdate(t, updMsg) peerShouldNotReceiveUpdate(t, updMsg)

View File

@ -226,9 +226,9 @@ func TestPostureCheckAccountPeerUpdate(t *testing.T) {
} }
}) })
// Re-saving unchanged posture check should trigger account peers update and not send peer update // Saving unchanged posture check should trigger account peers update and not send peer update
// // since there is no change in the network map // since there is no change in the network map
t.Run("re-saving unchanged posture check", func(t *testing.T) { t.Run("saving unchanged posture check", func(t *testing.T) {
done := make(chan struct{}) done := make(chan struct{})
go func() { go func() {
peerShouldNotReceiveUpdate(t, updMsg) peerShouldNotReceiveUpdate(t, updMsg)