Commit 87e6edc
committed
Ensure test env stops successfully
Since commit
72d2ec7
controllers tests have been failing on concourse CI with test env
failing to stop during test tear down within its default timeout (30 seconds),
for example https://ci.korifi.cf-app.com/teams/main/pipelines/main/jobs/run-tests-main/builds/1884
The issue is reproducible locally when running controller tests with 8
ginkgo nodes. Running them with 2 works fine
May or may not be related to kubernetes-sigs/controller-runtime#1571
This commit replaces
```
Expect(testEnv.Stop()).To(Succeed())
```
with
```
Eventually(testEnv.Stop, "1m").Should(Succeed())
```
to ensure that test env stops successfully1 parent cac4ab1 commit 87e6edc
File tree
43 files changed
+44
-44
lines changed- api
- authorization
- repositories
- conditions
- k8sklient/descriptors
- controllers
- api/v1alpha1
- cleanup
- controllers
- networking
- domains
- routes
- services
- bindings
- brokers
- instances
- managed
- upsi
- osbapi
- workloads
- apps
- build
- buildpack
- docker
- env
- k8sns
- orgs
- packages
- processes
- spaces
- tasks
- coordination/integration
- webhooks
- common_labels
- finalizer
- label_indexer
- networking/routes/app_destinations
- version
- workloads
- apps
- orgs
- packages
- spaces
- tasks
- job-task-runner/controllers/integration
- kpack-image-builder/controllers
- webhooks/finalizer
- migration/migration
- statefulset-runner/controllers
- integration
- webhooks/finalizer
- tools
- image
- k8s
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
43 files changed
+44
-44
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
130 | 130 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
0 commit comments