Skip to content

Commit

Permalink
Fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
notbdu committed Feb 28, 2020
1 parent 0b83e49 commit d7b3893
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -348,9 +348,9 @@ func TestCommitLogSourcePropCorrectlyBootstrapsFromCommitlog(t *testing.T) {
}

// Assign the previously-determined bootstrap range to each known shard
shardTimeRanges := result.ShardTimeRanges{}
shardTimeRanges := result.NewShardTimeRanges()
for shard := range allShardsMap {
shardTimeRanges[shard] = ranges
shardTimeRanges.Set(shard, ranges)
}

// Perform the bootstrap
Expand Down

0 comments on commit d7b3893

Please sign in to comment.