From 4c79a49329f9eede0633046384c85886f99fa3e2 Mon Sep 17 00:00:00 2001 From: Erik Grinaker Date: Thu, 3 Nov 2022 18:12:24 +0000 Subject: [PATCH] batcheval: deflake `TestAddSSTableSSTTimestampToRequestTimestampRespectsClosedTS` Release note: None --- pkg/kv/kvserver/batcheval/cmd_add_sstable_test.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkg/kv/kvserver/batcheval/cmd_add_sstable_test.go b/pkg/kv/kvserver/batcheval/cmd_add_sstable_test.go index 6012e5305db8..66c852de4649 100644 --- a/pkg/kv/kvserver/batcheval/cmd_add_sstable_test.go +++ b/pkg/kv/kvserver/batcheval/cmd_add_sstable_test.go @@ -1711,7 +1711,11 @@ func TestAddSSTableSSTTimestampToRequestTimestampRespectsClosedTS(t *testing.T) ctx := context.Background() si, _, db := serverutils.StartServer(t, base.TestServerArgs{ - Knobs: base.TestingKnobs{}, + Knobs: base.TestingKnobs{ + Store: &kvserver.StoreTestingKnobs{ + DisableCanAckBeforeApplication: true, + }, + }, }) defer si.Stopper().Stop(ctx) s := si.(*server.TestServer)