commit | 6b553b286499c03bd2827cdcb182e0069386ddd2 | [log] [tgz] |
---|---|---|
author | Philipp Wollermann <philwo@google.com> | Mon Jun 24 05:30:59 2024 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jun 24 05:30:59 2024 |
tree | e7da5754960688af0c9b337cc8456528382056c4 | |
parent | 9132618444b2e704c03eccbd42664a04c75cb802 [diff] |
bench: Flush csv.Writer to ensure data gets saved Change-Id: Ibb74202132a291d2c6b1d98432ed0c5e0247e819 Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/5628911 Commit-Queue: Philipp Wollermann <philwo@google.com> Reviewed-by: Fumitoshi Ukai <ukai@google.com> Auto-Submit: Philipp Wollermann <philwo@google.com> Cr-Commit-Position: refs/heads/main@{#66364}
Welcome to the Chrome Infra repository!
Wondering where to start? Check out General Chrome Infrastructure documentation. In particular, to check out this repo and the rest of the infrastructure code, follow the instructions here. The rest of this page is specific to this repo.
sys.path
modifications.git push origin <updated hash>:deployed
git push
commandIf you've added a new module, run your tests with test.py:
*_test.py
files to this directory.Double-check that your tests are getting picked up when you want them to be: ./test.py test <path-to-package>
.
Tests still not getting picked up by test.py? Double-check to make sure you have __init__.py
files in each directory of your module so Python recognizes it as a package.
The preferred style is PEP8 with two-space indent; that is, the Chromium Python style, except functions use lowercase_with_underscores
. Use yapf (git cl format
) to autoformat new code.