storj/cmd/tools/segment-verify/service_test.go
Egon Elbre 8459a3faa2 cmd/tools/segment-verify: add processing of a collection of segments
This adds logic to put segments into batches and retry them.

Change-Id: I86450e2f5ab13edb3ae9a5d5b9417e0cced2892b
2022-09-12 18:29:04 +03:00

20 lines
418 B
Go

// Copyright (C) 2022 Storj Labs, Inc.
// See LICENSE for copying information.
package main_test
import (
"testing"
"github.com/stretchr/testify/require"
segmentverify "storj.io/storj/cmd/tools/segment-verify"
"storj.io/storj/private/testplanet"
)
func TestService(t *testing.T) {
log := testplanet.NewLogger(t)
service := segmentverify.NewService(log.Named("segment-verify"))
require.NotNil(t, service)
}