4020e9e2ce
Some tests do not use testplanet and hence testmonkit should be reusable. Change-Id: If6b7194a199d9ffba5eb1a91f38d3a792f883336
20 lines
390 B
Go
20 lines
390 B
Go
// Copyright (C) 2021 Storj Labs, Inc.
|
|
// See LICENSE for copying information
|
|
|
|
package testmonkit_test
|
|
|
|
import (
|
|
"context"
|
|
"testing"
|
|
"time"
|
|
|
|
"storj.io/storj/private/testmonkit"
|
|
)
|
|
|
|
func TestBasic(t *testing.T) {
|
|
// Set STORJ_TEST_MONKIT=svg,json for this to see the output.
|
|
testmonkit.Run(context.Background(), t, func(ctx context.Context) {
|
|
time.Sleep(100 * time.Millisecond)
|
|
})
|
|
}
|