Skip to content

Commit dd4d456

Browse files
committed
[tree] Use appropriate method in test
1 parent 26b4824 commit dd4d456

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

root/tree/chain/execChainElementStatus.C

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ void testGetEntries() {
2626
TChain ch("tester");
2727
AddFiles(ch);
2828

29-
ch.GetEntries();
29+
// The test is meant to traverse the entire dataset to populate
30+
// the information of each TChainElement correctly.
31+
ch.LoadTree(TTree::kMaxEntries - 1);
3032

3133
Print(ch);
3234

0 commit comments

Comments
 (0)