Skip to content

Commit bb395b5

Browse files
committed
add partitiontest
1 parent 154b911 commit bb395b5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

util/metrics/runtime_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,13 @@ import (
2121
"strings"
2222
"testing"
2323

24+
"github.com/algorand/go-algorand/test/partitiontest"
2425
"github.com/stretchr/testify/require"
2526
)
2627

2728
func TestRuntimeMetrics(t *testing.T) {
29+
partitiontest.PartitionTest(t)
30+
2831
rm := NewRuntimeMetrics()
2932
var sb strings.Builder
3033
rm.WriteMetric(&sb, `host="x"`)

0 commit comments

Comments
 (0)