mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-06 03:57:48 +01:00
Clean up type for CompactMap chunk IDs.
This commit is contained in:
2 files changed
+17
-13
No files matched your search
@@ -381,7 +381,7 @@ func TestSegmentForKey(t *testing.T) {
|
||||
}
|
||||
|
||||
wantMap := &CompactMap{
|
||||
segments: map[int]*CompactMapSegment{
|
||||
segments: map[Chunk]*CompactMapSegment{
|
||||
0: &CompactMapSegment{
|
||||
list: []CompactNeedleValue{},
|
||||
chunk: 0,
|
||||
@@ -438,7 +438,7 @@ func TestAscendingVisit(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestOrdering(t *testing.T) {
|
||||
func TestRandomInsert(t *testing.T) {
|
||||
count := 8 * SegmentChunkSize
|
||||
keys := []types.NeedleId{}
|
||||
for i := 0; i < count; i++ {
|
||||
|
||||
Reference in new issue
Block a user