Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
JinheLin committed Jan 13, 2025
1 parent e98ec30 commit 74ab71a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkg/kv/version_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func TestVersion(t *testing.T) {
}

func TestMppVersion(t *testing.T) {
assert.Equal(t, int64(2), GetNewestMppVersion().ToInt64())
assert.Equal(t, int64(3), GetNewestMppVersion().ToInt64())
{
v, ok := ToMppVersion("unspecified")
assert.True(t, ok)
Expand All @@ -59,6 +59,11 @@ func TestMppVersion(t *testing.T) {
assert.True(t, ok)
assert.Equal(t, v, MppVersionV2)
}
{
v, ok := ToMppVersion("3")
assert.True(t, ok)
assert.Equal(t, v, MppVersionV3)
}
}

func TestExchangeCompressionMode(t *testing.T) {
Expand Down

0 comments on commit 74ab71a

Please sign in to comment.