Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
Signed-off-by: lance6716 <lance6716@gmail.com>
  • Loading branch information
lance6716 committed Apr 24, 2023
1 parent af0d215 commit b7d26f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion br/pkg/lightning/backend/local/local_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ func TestIsIngestRetryable(t *testing.T) {
},
},
}
retryType, newRegion, err := local.isIngestRetryable(ctx, resp, region, metas)
retryType, _, err := local.isIngestRetryable(ctx, resp, region, metas)
require.Equal(t, retryNone, retryType)
require.Error(t, err)

Expand All @@ -499,6 +499,7 @@ func TestIsIngestRetryable(t *testing.T) {
},
},
}
var newRegion *split.RegionInfo
retryType, newRegion, err = local.isIngestRetryable(ctx, resp, region, metas)
require.Equal(t, retryWrite, retryType)
require.Equal(t, uint64(2), newRegion.Region.RegionEpoch.Version)
Expand Down

0 comments on commit b7d26f8

Please sign in to comment.