-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
verdi computer test
: Improve messaging of login shell check (#6026)
The recently added check for the effect of using a login shell for the transport of the computer is improved: * The timings are now compared with a relative tolerance as well. Only if the timings differ by a factor of two is a warning printed. * The transport type in the suggested command to change the setting was hardcoded to `core.local`. It is now taken from the computer. This also allows to actually put dynamically use the correct computer label. Now the command can be literally copy-pasted. Note that this required adding the `computer` argument to all test functions. * If the timings are not close, instead of failing the test, it simply prints a warning. This is less alarming since really nothing is really broken.
- Loading branch information
Showing
3 changed files
with
39 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
062a582
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible performance regression was detected for benchmark 'pytest-benchmarks:ubuntu-22.04,psql_dos'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold
2
.tests/benchmark/test_nodes.py::test_store_backend
164.06543310769416
iter/sec (stddev: 0.023682
)386.3062883357994
iter/sec (stddev: 0.00026720
)2.35
This comment was automatically generated by workflow using github-action-benchmark.
CC: @chrisjsewell @giovannipizzi