Skip to content

Commit b23b931

Browse files
committed
kvserver: print GOMAXPROCS in slow test
Epic: none Release note: none
1 parent a0b2049 commit b23b931

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pkg/kv/kvserver/replicate_queue_test.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import (
1515
"os"
1616
"path/filepath"
1717
"regexp"
18+
"runtime"
1819
"strconv"
1920
"strings"
2021
"sync/atomic"
@@ -221,8 +222,10 @@ func TestReplicateQueueRebalanceMultiStore(t *testing.T) {
221222
})
222223
}
223224
for _, testCase := range testCases {
224-
225225
t.Run(testCase.name, func(t *testing.T) {
226+
// TODO(pav-kv): remove this when we know why the test is too slow in CI.
227+
t.Logf("GOMAXPROCS: %d", runtime.GOMAXPROCS(0))
228+
226229
if testCase.storesPerNode > 1 {
227230
// 8 stores with active rebalancing can lead to failed heartbeats due
228231
// to overload. Skip under stress when running the multi-store variant.

0 commit comments

Comments
 (0)