Skip to content

Commit

Permalink
Hardcode also the population 'NodeA' in the complexity file pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
jorblancoa committed Apr 9, 2024
1 parent e997630 commit 3eb2732
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration-e2e/test_loadbalance.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@ def test_loadbal_integration():

# Check the complexity file
base_dir = "sim_conf"
pattern = "_loadbal_*.*" # Matches any hash and population
cx_pattern = "cx_*#.dat" # Matches any cx file with the pattern
pattern = "_loadbal_*.NodeA" # Matches any hash and population
cx_pattern = "cx_NodeA*#.dat" # Matches any cx file with the pattern
assert Path(base_dir).is_dir(), "Directory 'sim_conf' not found."
cx_file = _read_complexity_file(base_dir, pattern, cx_pattern)
lines = cx_file.splitlines()
Expand Down

0 comments on commit 3eb2732

Please sign in to comment.