-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
53 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Daisy E2E Tests | ||
This directory contains end to end tests for Daisy. These tests are run | ||
periodically against HEAD. | ||
|
||
* Files matching `*.wf.json` are individual test cases. | ||
* If you have a sub wf that you do not want to run as a test case, you need | ||
to use a different file extension, e.g. `thing.subwf.json`, or put it in a | ||
subdirectory, e.g. `subdir/thing.wf.json`. | ||
* Test cases run in parallel except in cases of ordered test cases. | ||
* Ordered test cases: | ||
* Share a prefix. | ||
* Use non-negative numeric suffixes (before the `.wf.json`). If there | ||
is a test case without a suffix, it runs first. | ||
* e.g. `foo.wf.json`, `foo0.wf.json`, `foo1.wf.json`, and `foo014.wf.json`: | ||
`foo.wf.json` will run, then `foo0.wf.json`, then `foo1.wf.json`, then | ||
finally `foo014.wf.json`. | ||
|
||
## Test Environment Details | ||
* Tests run in the GCP project `gce-daisy-test` and have permissions: | ||
* GCE read/write | ||
* GCS read on the `gce-daisy-test-resources` bucket. | ||
* GCS read/write on the `gce-daisy-test-sandbox` bucket. | ||
* Test logs are written to the `gce-daisy-test` GCS bucket for Gubenator and | ||
testgrid to pick up. | ||
* Defaults are provided for workflow `Project` and `Zone` fields. | ||
* `Project` is `gce-daisy-test` | ||
* `Zone` is variable. | ||
* The following args are passed to the test workflows: | ||
* `test-id`: The ID of this test run. Useful for sharing resources between | ||
test cases (would probably need to be ordered test cases, since parallel) | ||
test cases would cause race conditions). |