two_paths_with_producers_and_filters_with_consumes.fcl
Go to the documentation of this file.
1 test_properties: {
2  graph_failure_expected: false
3 }
4 
5 process_name: test
6 
7 physics: {
8  producers: {
9  p1: {}
10  p2: { consumes: [["int", "p1"]] }
11  }
12  filters: {
13  f1: {}
14  f2: {}
15  }
16 
17  # Filter in between p1 and p2. If path1 executes before path2, p2
18  # will be executed only if filter f1 returns true. If path2
19  # executed first, then p2 is unconditionally executed. Regardless
20  # of the order of path executions, p2 will always be executed.
21 
22  # This is not a data-dependency error. But it may result in
23  # surprising behavior.
24 
25  tp1: [p1, f1, p2, f2]
26  tp2: [p1, p2]
27 }