diff --git a/pkg/postage/stampissuer_test.go b/pkg/postage/stampissuer_test.go index b544cb83ce8..dc2334c522a 100644 --- a/pkg/postage/stampissuer_test.go +++ b/pkg/postage/stampissuer_test.go @@ -207,14 +207,14 @@ func Test_StampIssuer_inc(t *testing.T) { } func TestUtilization(t *testing.T) { - // t.Skip("meant to be run for ad hoc testing") + t.Skip("meant to be run for ad hoc testing") for depth := uint8(17); depth < 25; depth++ { sti := postage.NewStampIssuer("label", "keyID", make([]byte, 32), big.NewInt(3), depth, postage.BucketDepth, 0, true) var count uint64 - eg := errgroup.Group{} + var eg errgroup.Group for i := 0; i < 8; i++ { eg.Go(func() error { @@ -230,7 +230,7 @@ func TestUtilization(t *testing.T) { err := eg.Wait() if !errors.Is(err, postage.ErrBucketFull) { - t.Fatal("err should be bucket full") + t.Fatalf("want: %v; have: %v", postage.ErrBucketFull, err) } t.Logf("depth: %d, actual utilization: %f", depth, float64(count)/math.Pow(2, float64(depth)))