8459a3faa2
This adds logic to put segments into batches and retry them. Change-Id: I86450e2f5ab13edb3ae9a5d5b9417e0cced2892b
20 lines
418 B
Go
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)
|
|
}
|