From 209f81882421524bf0d48275dd6d7d75bd2dad72 Mon Sep 17 00:00:00 2001 From: Mihut Aronovici Date: Mon, 7 Oct 2024 10:03:42 -0400 Subject: [PATCH] modify the test code to use ips@ instead of ips for key Signed-off-by: Mihut Aronovici --- sonic_data_client/client_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonic_data_client/client_test.go b/sonic_data_client/client_test.go index fd5224dd..275c9d33 100644 --- a/sonic_data_client/client_test.go +++ b/sonic_data_client/client_test.go @@ -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")