Skip to content

Commit

Permalink
test: restore skipped test
Browse files Browse the repository at this point in the history
Signed-off-by: ekexium <[email protected]>
  • Loading branch information
ekexium committed Mar 19, 2024
1 parent a9128e8 commit 477fc56
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions integration_tests/pipelined_memdb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -353,11 +353,10 @@ func (s *testPipelinedMemDBSuite) TestPipelinedPrefetch() {
s.Nil(txn.GetMemBuffer().FlushWait())
m, err = txn.BatchGet(context.Background(), [][]byte{[]byte("99")})
s.Nil(err)
// restore this check after tikv return pairs for buffer batch get
//s.Equal(m, map[string][]byte{})
//v, err = panicWhenReadingRemoteBuffer([]byte("99"))
//s.Nil(err)
//s.Equal(v, []byte{})
s.Equal(m, map[string][]byte{})
v, err = panicWhenReadingRemoteBuffer([]byte("99"))
s.Nil(err)
s.Equal(v, []byte{})
txn.Rollback()

// empty memdb should also cache the not exist result.
Expand Down

0 comments on commit 477fc56

Please sign in to comment.