Commit 592b38f
committed
Run the joint workflow against one MongoDB
The build_grails job served the test-example applications from a mongo:8 service
container on 27017, but named no version to the build, so the specifications that
bring their own server took the default in AbstractMongoGrailsExtension instead:
testcontainers started mongo:7.0.19 and the embedded server started V7_0. One job
was testing three MongoDB releases at once, and which one a failure belonged to
was not apparent from the job.
The service container is gone rather than aligned, because nothing needs it.
StartMongoGrailsIntegrationExtension probes localhost:27017 and starts a
container of its own when nothing answers, so the service was only ever an
optimisation; mongodbFunctional in gradle.yml runs the whole MongoDB suite with
`check -PonlyMongodbTests` and no service container, and is a required upstream
of publish. What is left brings its own server: a container for most
specifications, an embedded replica set for the four that need transactions.
-PmongodbContainerVersion=8.0 keeps those two on one release. This workflow
validates Grails against a Groovy snapshot rather than against a range of
MongoDB releases -- that coverage is the mongodb-version matrix in gradle.yml,
which runs 7.0 and 8.0 -- so the latest supported line is the one to run here.1 parent 49cbe1d commit 592b38f
1 file changed
Lines changed: 8 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | 118 | | |
129 | 119 | | |
130 | 120 | | |
| |||
161 | 151 | | |
162 | 152 | | |
163 | 153 | | |
164 | | - | |
165 | | - | |
166 | | - | |
| 154 | + | |
167 | 155 | | |
168 | | - | |
| 156 | + | |
169 | 157 | | |
170 | 158 | | |
171 | 159 | | |
| |||
187 | 175 | | |
188 | 176 | | |
189 | 177 | | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
190 | 183 | | |
191 | 184 | | |
192 | 185 | | |
| |||
197 | 190 | | |
198 | 191 | | |
199 | 192 | | |
| 193 | + | |
200 | 194 | | |
201 | 195 | | |
202 | 196 | | |
| |||
0 commit comments