Skip to content

Commit 75a6cbf

Browse files
committed
testBulkApi: Reduce cluster size to be closer to requested basketsize
1 parent f4efd1f commit 75a6cbf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tree/tree/test/BulkApi.cxx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ class BulkApiTest : public ::testing::Test {
2828
// Otherwise, we keep with the current ROOT defaults.
2929
auto tree = new TTree("T", "A ROOT tree of floats.");
3030
float f = 2;
31+
// Create many clusters
32+
tree->SetAutoFlush(80000);
3133
tree->Branch("myFloat", &f, 320000, 1);
3234
for (Long64_t ev = 0; ev < fEventCount; ev++) {
3335
tree->Fill();

0 commit comments

Comments
 (0)