You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
depot_tools/tests
Edward Lemur 579c98612b Reset the fetch config in the bots before each run.
If a ref is incorrectly set, it will affect later runs.
For example, [1] caused a bad refspec to be added to the fetch config,
(+refs/branch-heads/refs/branch-heads/6.7:refs/branch-heads/refs/branch-heads/6.7)
which affects all subsequent runs in the same bot: [2], [3].

This makes bot_update clear the fetch config before each run, so it is more
robust against these kind of failures.

[1] https://logs.chromium.org/v/?s=v8%2Fbuildbucket%2Fcr-buildbucket.appspot.com%2F8942033142534034848%2F%2B%2Fsteps%2Fbot_update%2F0%2Fstdout
[2] https://logs.chromium.org/v/?s=v8%2Fbuildbucket%2Fcr-buildbucket.appspot.com%2F8941307871443322944%2F%2B%2Fsteps%2Fbot_update%2F0%2Fstdout
[3] https://logs.chromium.org/v/?s=v8%2Fbuildbucket%2Fcr-buildbucket.appspot.com%2F8941333453153279680%2F%2B%2Fsteps%2Fbot_update%2F0%2Fstdout

Bug: 862547
Change-Id: I2f849c604656e81ebd7377465d287226b8bdea1a
Reviewed-on: https://chromium-review.googlesource.com/1135645
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
Reviewed-by: Aaron Gable <agable@chromium.org>
Reviewed-by: Robbie Iannucci <iannucci@chromium.org>
7 years ago
..
gstools Scripts to download files from google storage based on sha1 sums 13 years ago
auth_test.py [auth] cache LUCI_CONTEXT local_auth parameters. 8 years ago
bot_update_coverage_test.py Reland of "Wipe out shallow checkout support from bot_update." 7 years ago
checkout_test.py Revert "Fix checkout.py issues when p.patchlevel > 1." 8 years ago
download_from_google_storage_unittest.py download_from_google_storage: allow normal files with .. 8 years ago
fix_encoding_test.py Standardize the sys.path fix up and fix a few pylint warnings. 14 years ago
gclient_eval_unittest.py Add a library for monitoring. 7 years ago
gclient_scm_test.py Reset the fetch config in the bots before each run. 7 years ago
gclient_smoketest.py Revert "gclient: Add support for the branch:revision format." 7 years ago
gclient_test.py Add a library for monitoring. 7 years ago
gclient_utils_test.py gclient: Stop printing newline in front of "________ running hook" 8 years ago
git_cache_test.py Clean up cache_dir handling in gclient/git_cache/bot_update. 7 years ago
git_cl_creds_check_report.txt git cl creds-check: improve report and give better recommendation. 8 years ago
git_cl_test.py git cl: Do not set WIP when using no_squash. 8 years ago
git_common_test.py git_test_utils: Fixed custom git metadata in git commit schemas. 8 years ago
git_dates_test.py Added git hyper-blame, a tool that skips unwanted commits in git blame. 10 years ago
git_drover_test.py Reland "Use core.quotePath=false when git is listing files" 8 years ago
git_footers_test.py Let git_footers split final paragraphs in specific cases 8 years ago
git_hyper_blame_test.py Update git_hyper_blame_test for git 2.16 8 years ago
git_number_test.py Disable tests that break because of git 2.4 11 years ago
git_rebase_update_test.py Add better error messages to git_reparent_branch. 10 years ago
gsutil_test.py download_from_google_storage: Fix tests and rename 8 years ago
metrics_test.py Add a library for monitoring. 7 years ago
owners_finder_test.py Skip files owned by reviewers when quering for missing owners. 8 years ago
owners_unittest.py owners: Add support for comments at the end of the line. 8 years ago
patch_test.py Fix applying svn:executable on Windows. 13 years ago
presubmit_unittest.py Add gclient_utils to InputAPI export. 7 years ago
recipes_test.py Stop running deprecated simulation_test 9 years ago
roll_dep_test.py Add a library for monitoring. 7 years ago
scm_unittest.py Correct Git show's path format on Windows 9 years ago
subprocess2_test.py depot_tools: Replace pylint error numbers with symbolic names. 9 years ago
upload_to_google_storage_unittest.py tests: Use the right clean up method name for some test cases. 8 years ago
watchlists_unittest.py depot_tools: Replace pylint error numbers with symbolic names. 9 years ago