Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
RidRisR committed Jul 12, 2024
1 parent 40bf896 commit 5ad7071
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions br/pkg/task/restore_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ func TestTikvUsage(t *testing.T) {
{Name: "F5", Size_: 5 * pb},
}
replica := uint64(3)
storeCnt := 6
storeCnt := uint64(6)
total := uint64(0)
for _, f := range files {
total += f.GetSize_()
Expand All @@ -508,7 +508,7 @@ func TestTiflashUsage(t *testing.T) {
{TiFlashReplicas: 2, Files: []*backuppb.File{{Size_: 3 * pb}}},
}

storeCnt := 3
var storeCnt uint64 = 3
ret := task.EstimateTiflashUsage(tables, storeCnt)
require.Equal(t, 8*pb/3, ret)
}
Expand Down

0 comments on commit 5ad7071

Please sign in to comment.