Skip to content

Commit a9a7b51

Browse files
Merge pull request opendatahub-io#97 from HumairAK/issue_96
Fix flaky tests.
2 parents 2851682 + 4ad6c17 commit a9a7b51

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

controllers/testdata/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,12 @@ metadata:
7070

7171
We can do this by first creating a folder `controllers/testdata/declarative/case_4`
7272
Then adding the DSPA cr in: `controllers/testdata/declarative/case_4/deploy/dspa.yaml` (we want to the test case to `deploy` this DSPA)
73+
74+
> Note you can add multiple resources in the ../deploy folder, and the test case will deploy all of them
75+
> If certain resources are dependent on others, they should be ordered alphabetically in the order they shoudl be
76+
> deployed. For example resource 00_res.yaml will be deployed before 01_res.yaml, so ensure that 00_res.yaml does not
77+
> depend on 01_res.yaml.
78+
7379
Then adding the configmap resource in: `controllers/testdata/declarative/case_4/expected/created/configmap.yaml`
7480
Each case requires a configmap, we can add one like this:
7581

0 commit comments

Comments
 (0)