@ -140,11 +140,11 @@ TEST_F(BlobFileBuilderTest, BuildAndCheckOneFile) {
std : : vector < std : : string > blob_file_paths ;
std : : vector < BlobFileAddition > blob_file_additions ;
BlobFileBuilder builder ( TestFileNumberGenerator ( ) , & mock_env_ , fs_ ,
& immutable_cf_options , & mutable_cf_options ,
& file_options_ , job_id , column_family_id ,
column_family_name , io_priority , write_hint ,
& blob_file_paths , & blob_file_additions ) ;
BlobFileBuilder builder (
TestFileNumberGenerator ( ) , & mock_env_ , fs_ , & im mutable_cf_options,
& mutable_cf_options , & file_options_ , job_id , column_family_id ,
column_family_name , io_priority , write_hint , nullptr /*IOTracer*/ ,
& blob_file_paths , & blob_file_additions ) ;
std : : vector < std : : pair < std : : string , std : : string > > expected_key_value_pairs (
number_of_blobs ) ;
@ -223,11 +223,11 @@ TEST_F(BlobFileBuilderTest, BuildAndCheckMultipleFiles) {
std : : vector < std : : string > blob_file_paths ;
std : : vector < BlobFileAddition > blob_file_additions ;
BlobFileBuilder builder ( TestFileNumberGenerator ( ) , & mock_env_ , fs_ ,
& immutable_cf_options , & mutable_cf_options ,
& file_options_ , job_id , column_family_id ,
column_family_name , io_priority , write_hint ,
& blob_file_paths , & blob_file_additions ) ;
BlobFileBuilder builder (
TestFileNumberGenerator ( ) , & mock_env_ , fs_ , & im mutable_cf_options,
& mutable_cf_options , & file_options_ , job_id , column_family_id ,
column_family_name , io_priority , write_hint , nullptr /*IOTracer*/ ,
& blob_file_paths , & blob_file_additions ) ;
std : : vector < std : : pair < std : : string , std : : string > > expected_key_value_pairs (
number_of_blobs ) ;
@ -308,11 +308,11 @@ TEST_F(BlobFileBuilderTest, InlinedValues) {
std : : vector < std : : string > blob_file_paths ;
std : : vector < BlobFileAddition > blob_file_additions ;
BlobFileBuilder builder ( TestFileNumberGenerator ( ) , & mock_env_ , fs_ ,
& immutable_cf_options , & mutable_cf_options ,
& file_options_ , job_id , column_family_id ,
column_family_name , io_priority , write_hint ,
& blob_file_paths , & blob_file_additions ) ;
BlobFileBuilder builder (
TestFileNumberGenerator ( ) , & mock_env_ , fs_ , & im mutable_cf_options,
& mutable_cf_options , & file_options_ , job_id , column_family_id ,
column_family_name , io_priority , write_hint , nullptr /*IOTracer*/ ,
& blob_file_paths , & blob_file_additions ) ;
for ( size_t i = 0 ; i < number_of_blobs ; + + i ) {
const std : : string key = std : : to_string ( i ) ;
@ -360,11 +360,11 @@ TEST_F(BlobFileBuilderTest, Compression) {
std : : vector < std : : string > blob_file_paths ;
std : : vector < BlobFileAddition > blob_file_additions ;
BlobFileBuilder builder ( TestFileNumberGenerator ( ) , & mock_env_ , fs_ ,
& immutable_cf_options , & mutable_cf_options ,
& file_options_ , job_id , column_family_id ,
column_family_name , io_priority , write_hint ,
& blob_file_paths , & blob_file_additions ) ;
BlobFileBuilder builder (
TestFileNumberGenerator ( ) , & mock_env_ , fs_ , & im mutable_cf_options,
& mutable_cf_options , & file_options_ , job_id , column_family_id ,
column_family_name , io_priority , write_hint , nullptr /*IOTracer*/ ,
& blob_file_paths , & blob_file_additions ) ;
const std : : string key ( " 1 " ) ;
const std : : string uncompressed_value ( value_size , ' x ' ) ;
@ -442,11 +442,11 @@ TEST_F(BlobFileBuilderTest, CompressionError) {
std : : vector < std : : string > blob_file_paths ;
std : : vector < BlobFileAddition > blob_file_additions ;
BlobFileBuilder builder ( TestFileNumberGenerator ( ) , & mock_env_ , fs_ ,
& immutable_cf_options , & mutable_cf_options ,
& file_options_ , job_id , column_family_id ,
column_family_name , io_priority , write_hint ,
& blob_file_paths , & blob_file_additions ) ;
BlobFileBuilder builder (
TestFileNumberGenerator ( ) , & mock_env_ , fs_ , & im mutable_cf_options,
& mutable_cf_options , & file_options_ , job_id , column_family_id ,
column_family_name , io_priority , write_hint , nullptr /*IOTracer*/ ,
& blob_file_paths , & blob_file_additions ) ;
SyncPoint : : GetInstance ( ) - > SetCallBack ( " CompressData:TamperWithReturnValue " ,
[ ] ( void * arg ) {
@ -519,11 +519,11 @@ TEST_F(BlobFileBuilderTest, Checksum) {
std : : vector < std : : string > blob_file_paths ;
std : : vector < BlobFileAddition > blob_file_additions ;
BlobFileBuilder builder ( TestFileNumberGenerator ( ) , & mock_env_ , fs_ ,
& immutable_cf_options , & mutable_cf_options ,
& file_options_ , job_id , column_family_id ,
column_family_name , io_priority , write_hint ,
& blob_file_paths , & blob_file_additions ) ;
BlobFileBuilder builder (
TestFileNumberGenerator ( ) , & mock_env_ , fs_ , & im mutable_cf_options,
& mutable_cf_options , & file_options_ , job_id , column_family_id ,
column_family_name , io_priority , write_hint , nullptr /*IOTracer*/ ,
& blob_file_paths , & blob_file_additions ) ;
const std : : string key ( " 1 " ) ;
const std : : string value ( " deadbeef " ) ;
@ -615,11 +615,11 @@ TEST_P(BlobFileBuilderIOErrorTest, IOError) {
std : : vector < std : : string > blob_file_paths ;
std : : vector < BlobFileAddition > blob_file_additions ;
BlobFileBuilder builder ( TestFileNumberGenerator ( ) , & mock_env_ , fs_ ,
& immutable_cf_options , & mutable_cf_options ,
& file_options_ , job_id , column_family_id ,
column_family_name , io_priority , write_hint ,
& blob_file_paths , & blob_file_additions ) ;
BlobFileBuilder builder (
TestFileNumberGenerator ( ) , & mock_env_ , fs_ , & im mutable_cf_options,
& mutable_cf_options , & file_options_ , job_id , column_family_id ,
column_family_name , io_priority , write_hint , nullptr /*IOTracer*/ ,
& blob_file_paths , & blob_file_additions ) ;
SyncPoint : : GetInstance ( ) - > SetCallBack ( sync_point_ , [ this ] ( void * arg ) {
Status * const s = static_cast < Status * > ( arg ) ;