-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug-1866796: update systemtests (#2885)
Because: - Happy path download system tests failed due to stale, hardcoded symbols files in `data/sym_files_to_download.csv`. - Even when they weren't stale, these files were from prod and were only available in that env, but we need to be able to run system tests against all envs. - The listed symbols files didn't represent all storage buckets (try, regular) we expect to see. Only regular bucket files were tested. This commit: - Adds a new bin/setup-download-tests.py script to setup files for the download test. - This script: - Fetches symbols files from prod, downloads them, and saves them to two zip files (one for regular files and one for try files) in systemtests/data/zip-files/. - Creates a CSV of symbols files from each bucket type (try and regular). - Modifies upload and download system tests to upload/download to the correct bucket (try or regular). - Rewrites all systemtests/*.sh scripts to *.py for easier debugging. Notes: - The zip files will get uploaded to the respective nonprod env's storage backend as part of the upload tests. - The CSV file is passed to the download tests as before. This means that now, in any environment, we will have the symbols files listed in the above CSV file uploaded to that environment's storage backend, they will consist of files from both bucket types (try and regular), and they will never be stale.
- Loading branch information
1 parent
8af84c7
commit 0638146
Showing
21 changed files
with
634 additions
and
224 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. |
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
Oops, something went wrong.