Skip to content

Commit

Permalink
add default table in thread test
Browse files Browse the repository at this point in the history
  • Loading branch information
goatshriek committed Oct 21, 2023
1 parent e69d599 commit 8dc3991
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/thread_safety/target/sqlite3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ namespace {
EXPECT_NO_ERROR;
ASSERT_NOT_NULL( target );

stumpless_create_default_sqlite3_table( target );
EXPECT_NO_ERROR;

for( i = 0; i < THREAD_COUNT; i++ ) {
threads[i] = new std::thread( add_messages, target, MESSAGE_COUNT );
}
Expand All @@ -66,6 +69,6 @@ namespace {
// }
// EXPECT_EQ( i, THREAD_COUNT * MESSAGE_COUNT );

// remove( filename );
remove( filename );
}
}

0 comments on commit 8dc3991

Please sign in to comment.