DARMA-tasking / LB-analysis-framework

Analysis framework for exploring, testing, and comparing load balancing strategies
Other
3 stars 1 forks source link

CI test is failing #185

Closed marcinwrobel1986 closed 2 years ago

marcinwrobel1986 commented 2 years ago

What is the problem:

Where is config file for testing:

What test does?

import sys

def run_tests():
    imbalance_file = f"/lbaf/output/imbalance.txt"
    with open(imbalance_file, 'r') as imb_file:
        imb_level = float(imb_file.read())
        if imb_level < 0.000001:
            print(f"===> TEST PASSED!")
        else:
            print(f"===> TEST FAILED!")
            sys.exit(1)

if __name__ == "__main__":
    run_tests()

imbalance.txt is saved in print_function_statistics in src/IO/lbsStatistics.py line: 201

How it was before:

ppebay commented 2 years ago

Should be resolved by now in #181

Screen Shot 2022-02-21 at 7 53 36 PM

Please re-review my PR thanks