Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
DanG100 committed Jan 10, 2025
1 parent 2332625 commit 33318fc
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions dataplane/saiserver/hostif_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,8 @@ func TestCreateHostif(t *testing.T) {
Oid: 3,
},
wantAttr: &saipb.HostifAttribute{
Type: saipb.HostifType_HOSTIF_TYPE_NETDEV.Enum(),
ObjId: proto.Uint64(2),
OperStatus: proto.Bool(true),
Type: saipb.HostifType_HOSTIF_TYPE_NETDEV.Enum(),
ObjId: proto.Uint64(2),
},
}, {
desc: "success cpu port",
Expand All @@ -73,9 +72,8 @@ func TestCreateHostif(t *testing.T) {
Oid: 3,
},
wantAttr: &saipb.HostifAttribute{
Type: saipb.HostifType_HOSTIF_TYPE_NETDEV.Enum(),
ObjId: proto.Uint64(10),
OperStatus: proto.Bool(true),
Type: saipb.HostifType_HOSTIF_TYPE_NETDEV.Enum(),
ObjId: proto.Uint64(10),
},
}}
for _, tt := range tests {
Expand Down

0 comments on commit 33318fc

Please sign in to comment.