Commit 9bdd9ea 1 parent 53fc07d commit 9bdd9ea Copy full SHA for 9bdd9ea
File tree 2 files changed +5
-0
lines changed
2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -309,6 +309,8 @@ func TestLearnerSnapshotFailsRollback(t *testing.T) {
309
309
defer leaktest .AfterTest (t )()
310
310
defer log .Scope (t ).Close (t )
311
311
312
+ skip .UnderShort (t ) // Takes 90s.
313
+
312
314
runTest := func (t * testing.T , replicaType roachpb.ReplicaType ) {
313
315
var rejectSnapshots int64
314
316
knobs , ltk := makeReplicationTestKnobs ()
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ import (
27
27
"github.com/cockroachdb/cockroach/pkg/testutils/skip"
28
28
"github.com/cockroachdb/cockroach/pkg/testutils/testcluster"
29
29
"github.com/cockroachdb/cockroach/pkg/util/leaktest"
30
+ "github.com/cockroachdb/cockroach/pkg/util/log"
30
31
"github.com/cockroachdb/errors"
31
32
"github.com/stretchr/testify/require"
32
33
)
@@ -51,9 +52,11 @@ import (
51
52
// 6. A meta range (error expected).
52
53
func TestResetQuorum (t * testing.T ) {
53
54
defer leaktest .AfterTest (t )()
55
+ defer log .Scope (t ).Close (t )
54
56
55
57
skip .UnderStress (t , "too many nodes" )
56
58
skip .UnderRace (t , "takes >1m under race" )
59
+ skip .UnderShort (t )
57
60
58
61
ctx := context .Background ()
59
62
livenessDuration := 3000 * time .Millisecond
You can’t perform that action at this time.
0 commit comments