Skip to content

Commit

Permalink
modify the test code to use ips@ instead of ips for key
Browse files Browse the repository at this point in the history
Signed-off-by: Mihut Aronovici <[email protected]>
  • Loading branch information
aronovic committed Oct 7, 2024
1 parent 1427d39 commit 209f818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sonic_data_client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ func TestGetDpuAddress(t *testing.T) {
t.Errorf("get DPU address should failed: %v, but get %s", err, address)
}

dhcpPortTable.Hset("bridge_midplane|dpu0", "ips", "127.0.0.2,127.0.0.1")
dhcpPortTable.Hset("bridge_midplane|dpu0", "ips@", "127.0.0.2,127.0.0.1")

// test get valid DPU address
address, err = getDpuAddress("dpu0")
Expand Down

0 comments on commit 209f818

Please sign in to comment.