Skip to content

Commit

Permalink
Mock Unit Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
harshitap26 committed Feb 14, 2022
1 parent b9a49d5 commit 23e93eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gonvme_mock.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func (nvme *MockNVMeTCP) getSessions() ([]NVMESession, error) {
for idx := 0; idx < int(count); idx++ {
init := fmt.Sprintf("%0d", idx)
session := NVMESession{}
session.Target = fmt.Sprintf("nqn.1988-11.com.dell:powerstore:00:e6e2d5b871f1403E169D%d", idx)
session.Target = fmt.Sprintf("nqn.1988-11.com.dell.mock:00:e6e2d5b871f1403E169D%d", idx)
session.Portal = fmt.Sprintf("192.168.1.%d", idx)
session.Name = "nvme" + init
session.NVMESessionState = NVMESessionStateLive
Expand Down

0 comments on commit 23e93eb

Please sign in to comment.