Skip to content

Commit

Permalink
test(storage/backend): enable Nvme/TCP TLS encryption.
Browse files Browse the repository at this point in the history
Signed-off-by: Artsiom Koltun <[email protected]>
  • Loading branch information
artek-koltun committed Sep 28, 2023
1 parent d007614 commit 5c763b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ services:
- /dev/shm:/dev/shm
- /proc:/proc
- /var/tmp:/var/tmp
- /tmp:/tmp
ports:
- "9009:9009"
- "4444:4444"
Expand Down
4 changes: 4 additions & 0 deletions storage/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ func DoBackend(ctx context.Context, conn grpc.ClientConnInterface) error {
if err != nil {
return err
}
err = executeNvmePath(ctx, nvme, true)
if err != nil {
return err
}

Check warning on line 40 in storage/backend.go

View check run for this annotation

Codecov / codecov/patch

storage/backend.go#L37-L40

Added lines #L37 - L40 were not covered by tests
err = executeNullVolume(ctx, null)
if err != nil {
return err
Expand Down

0 comments on commit 5c763b4

Please sign in to comment.