Skip to content

Commit

Permalink
Correct the test cases to prevent the TestCommitMissingPrewrite4B cas…
Browse files Browse the repository at this point in the history
…e from not being tested. (#459)
  • Loading branch information
yanghy233 authored Oct 11, 2024
1 parent 1338f1b commit b3bb260
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kv/transaction/commands4b_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -569,9 +569,9 @@ func TestCommitConflictRepeat4B(t *testing.T) {
})
}

// TestCommitMissingPrewrite4a tests committing a transaction which was not prewritten (i.e., a request was lost, but
// TestCommitMissingPrewrite4B tests committing a transaction which was not prewritten (i.e., a request was lost, but
// the commit request was not).
func TestCommitMissingPrewrite4a(t *testing.T) {
func TestCommitMissingPrewrite4B(t *testing.T) {
builder := newBuilder(t)
cmd := builder.commitRequest([]byte{3})
builder.init([]kv{
Expand Down

0 comments on commit b3bb260

Please sign in to comment.