Ticket #7017: test_simple_seg_storage.cpp.2.patch

File test_simple_seg_storage.cpp.2.patch, 859 bytes (added by Mike Liang <mtliang@…>, 6 years ago)
  • libs/pool/test/test_simple_seg_storage.cpp

     
    156156        test_simp_seg_store tstore2;
    157157        char* const pc2 = track_allocator::malloc(75);
    158158        tstore2.add_block(pc2, 24, partition_sz);
    159         tstore2.add_block(pc2 + 49, 24, partition_sz);
    160         tstore2.add_block(pc2 + 25, 24, partition_sz);
     159        tstore2.add_block(pc2 + 48, 24, partition_sz);
     160        tstore2.add_block(pc2 + 24, 24, partition_sz);
    161161        tstore2.add_block(track_allocator::malloc(23), 23, partition_sz);
    162162        std::size_t nchunk_ref = (3*(24/partition_sz)) + (23/partition_sz);
    163163        for(nchunk = 0; !tstore2.empty(); tstore2.malloc(), ++nchunk) {}