# HG changeset patch # User Pierre-Yves David # Date 2023-06-01 21:32:21 # Node ID 553865308b15b013d0058d3eba62c5036e4b59b0 # Parent 164b6c4878b829e5061ef68dae93a93a4ca32b15 test: make test-contrib-perf.t more robust Some code path are far too fast now. We raise de number to make sure the run keep to that floor. diff --git a/tests/test-contrib-perf.t b/tests/test-contrib-perf.t --- a/tests/test-contrib-perf.t +++ b/tests/test-contrib-perf.t @@ -298,20 +298,20 @@ Simple single entry Multiple entries - $ hg perfparents --config perf.stub=no --config perf.run-limits='500000-1, 0.000000001-5' - ! wall * comb * user * sys * (best of 5) (glob) + $ hg perfparents --config perf.stub=no --config perf.run-limits='500000-1, 0.000000001-50' + ! wall * comb * user * sys * (best of 50) (glob) error case are ignored - $ hg perfparents --config perf.stub=no --config perf.run-limits='500, 0.000000001-5' + $ hg perfparents --config perf.stub=no --config perf.run-limits='500, 0.000000001-50' malformatted run limit entry, missing "-": 500 - ! wall * comb * user * sys * (best of 5) (glob) - $ hg perfparents --config perf.stub=no --config perf.run-limits='aaa-12, 0.000000001-5' - malformatted run limit entry, could not convert string to float: 'aaa': aaa-12 - ! wall * comb * user * sys * (best of 5) (glob) - $ hg perfparents --config perf.stub=no --config perf.run-limits='12-aaaaaa, 0.000000001-5' - malformatted run limit entry, invalid literal for int() with base 10: 'aaaaaa': 12-aaaaaa - ! wall * comb * user * sys * (best of 5) (glob) + ! wall * comb * user * sys * (best of 50) (glob) + $ hg perfparents --config perf.stub=no --config perf.run-limits='aaa-120, 0.000000001-50' + malformatted run limit entry, could not convert string to float: 'aaa': aaa-120 + ! wall * comb * user * sys * (best of 50) (glob) + $ hg perfparents --config perf.stub=no --config perf.run-limits='120-aaaaaa, 0.000000001-50' + malformatted run limit entry, invalid literal for int() with base 10: 'aaaaaa': 120-aaaaaa + ! wall * comb * user * sys * (best of 50) (glob) test actual output ------------------