Skip to content

Commit

Permalink
Fix UT
Browse files Browse the repository at this point in the history
  • Loading branch information
liuh-80 committed Mar 20, 2024
1 parent c1186ce commit 254a29d
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 @@ -591,7 +591,7 @@ func TestGetZmqClient(t *testing.T) {
time.Sleep(1 * time.Second)

client, err := getZmqClient("dpu0", "")
if err == nil {
if client != nil || err != nil {
t.Errorf("empty ZMQ port should not get ZMQ client")
}

Expand Down

0 comments on commit 254a29d

Please sign in to comment.