Skip to content

Commit

Permalink
Add deletion logic
Browse files Browse the repository at this point in the history
  • Loading branch information
zbud-msft committed Jul 24, 2023
1 parent cf4a042 commit 5e8e22d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gnmi_server/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3286,8 +3286,10 @@ func TestTableKeyOnDeletion(t *testing.T) {
c.Subscribe(context.Background(), q)
}()

rclient.Del("NEIGH_STATE_TABLE|10.0.0.57")
time.Sleep(time.Millisecond * 2000)


mutexNoti.Lock()
defer mutexNoti.Unlock()
if diff := pretty.Compare(tt.wantNoti, gotNoti); diff != "" {
Expand Down

0 comments on commit 5e8e22d

Please sign in to comment.