Skip to content

Commit

Permalink
Fix unittests
Browse files Browse the repository at this point in the history
  • Loading branch information
charithabandi committed Dec 1, 2023
1 parent bd245fc commit c97342f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/sessions/session_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ func Test_Sessions(t *testing.T) {
_, err = mc.Commit(ctx, key2)
assert.NoError(t, err)

assert.Equal(t, len(kv.vals), 0)
// IdempotentKey is never deleted, just updated with every block, so it should always be 1
assert.Equal(t, len(kv.vals), 1)
},
},
{
Expand Down

0 comments on commit c97342f

Please sign in to comment.