@@ -191,7 +191,7 @@ func TestReliableIntentCleanup(t *testing.T) {
191191 skip .UnderDeadlock (t , "timing-sensitive test" )
192192 //skip.UnderStress(t, "memory-hungry test")
193193
194- prefix := roachpb .Key ([] byte ( "key\x00 " ) )
194+ prefix := roachpb .Key ("key\x00 " )
195195
196196 testutils .RunTrueAndFalse (t , "ForceSyncIntentResolution" , func (t * testing.T , forceSync bool ) {
197197 // abortHeartbeats is used to abort txn heartbeats, returning
@@ -355,7 +355,7 @@ func TestReliableIntentCleanup(t *testing.T) {
355355 started = timeutil .Now ()
356356 )
357357 for {
358- result , err := storage .MVCCScan (ctx , store .TODOEngine (), prefix , prefix .PrefixEnd (),
358+ result , err := storage .MVCCScan (ctx , store .StateEngine (), prefix , prefix .PrefixEnd (),
359359 hlc .MaxTimestamp , storage.MVCCScanOptions {Inconsistent : true })
360360 require .NoError (t , err )
361361 intentCount := len (result .Intents )
@@ -388,7 +388,7 @@ func TestReliableIntentCleanup(t *testing.T) {
388388 var txnEntry roachpb.Transaction
389389 if ! assert .Eventually (t , func () bool {
390390 key := keys .TransactionKey (txnKey , txnID )
391- ok , err := storage .MVCCGetProto (ctx , store .TODOEngine (), key , hlc .MaxTimestamp , & txnEntry ,
391+ ok , err := storage .MVCCGetProto (ctx , store .StateEngine (), key , hlc .MaxTimestamp , & txnEntry ,
392392 storage.MVCCGetOptions {})
393393 require .NoError (t , err )
394394 return ! ok
0 commit comments