Skip to content

Commit b3c9305

Browse files
committed
fix gh actions based on the new repo modules
ai-assisted=yes TNZ-1234
1 parent 5c840dc commit b3c9305

2 files changed

Lines changed: 3 additions & 38 deletions

File tree

.github/workflows/tests-workflow.yml

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,6 @@ jobs:
138138
- name: build binaries
139139
run: |
140140
repo/.github/helpers/build.bash ${{ github.workspace }} "$BUILD_IMAGE"
141-
- name: bbs-mysql
142-
env:
143-
DIR: src/code.cloudfoundry.org/bbs
144-
DB: mysql
145-
run: |
146-
repo/.github/helpers/test.bash ${{ github.workspace }} "$BUILD_IMAGE"
147141
- name: auctioneer-mysql
148142
env:
149143
DIR: src/code.cloudfoundry.org/auctioneer
@@ -162,12 +156,6 @@ jobs:
162156
DB: mysql
163157
run: |
164158
repo/.github/helpers/test.bash ${{ github.workspace }} "$BUILD_IMAGE"
165-
- name: locket-mysql
166-
env:
167-
DIR: src/code.cloudfoundry.org/locket
168-
DB: mysql
169-
run: |
170-
repo/.github/helpers/test.bash ${{ github.workspace }} "$BUILD_IMAGE"
171159
- name: cfdot-mysql
172160
env:
173161
DIR: src/code.cloudfoundry.org/cfdot
@@ -239,12 +227,6 @@ jobs:
239227
- name: build binaries
240228
run: |
241229
repo/.github/helpers/build.bash ${{ github.workspace }} "$BUILD_IMAGE"
242-
- name: bbs-postgres
243-
env:
244-
DIR: src/code.cloudfoundry.org/bbs
245-
DB: postgres
246-
run: |
247-
repo/.github/helpers/test.bash ${{ github.workspace }} "$BUILD_IMAGE"
248230
- name: auctioneer-postgres
249231
env:
250232
DIR: src/code.cloudfoundry.org/auctioneer
@@ -263,12 +245,6 @@ jobs:
263245
DB: postgres
264246
run: |
265247
repo/.github/helpers/test.bash ${{ github.workspace }} "$BUILD_IMAGE"
266-
- name: locket-postgres
267-
env:
268-
DIR: src/code.cloudfoundry.org/locket
269-
DB: postgres
270-
run: |
271-
repo/.github/helpers/test.bash ${{ github.workspace }} "$BUILD_IMAGE"
272248
- name: cfdot-postgres
273249
env:
274250
DIR: src/code.cloudfoundry.org/cfdot
@@ -296,12 +272,6 @@ jobs:
296272
- name: build binaries
297273
run: |
298274
repo/.github/helpers/build.bash ${{ github.workspace }} "$BUILD_IMAGE"
299-
- name: bbs-mysql
300-
env:
301-
DIR: src/code.cloudfoundry.org/bbs
302-
DB: mysql
303-
run: |
304-
repo/.github/helpers/test.bash ${{ github.workspace }} "$BUILD_IMAGE"
305275
- name: auctioneer-mysql
306276
env:
307277
DIR: src/code.cloudfoundry.org/auctioneer
@@ -320,12 +290,6 @@ jobs:
320290
DB: mysql
321291
run: |
322292
repo/.github/helpers/test.bash ${{ github.workspace }} "$BUILD_IMAGE"
323-
- name: locket-mysql
324-
env:
325-
DIR: src/code.cloudfoundry.org/locket
326-
DB: mysql
327-
run: |
328-
repo/.github/helpers/test.bash ${{ github.workspace }} "$BUILD_IMAGE"
329293
- name: cfdot-mysql
330294
env:
331295
DIR: src/code.cloudfoundry.org/cfdot

src/code.cloudfoundry.org/rep/cmd/rep/main_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,17 +1063,18 @@ dYbCU/DMZjsv+Pt9flhj7ELLo+WKHyI767hJSq9A7IT3GzFt8iGiEAt1qj2yS0DX
10631063
})
10641064

10651065
Context("when the container is removed", func() {
1066-
It("returns available capacity == total capacity", func() {
1066+
It("returns available capacity == total capacity", Serial, func() {
10671067
fakeGarden.RouteToHandler("GET", "/containers", ghttp.RespondWithJSONEncoded(http.StatusOK, struct{}{}))
10681068
fakeGarden.RouteToHandler("GET", "/containers/bulk_info", ghttp.RespondWithJSONEncoded(http.StatusOK, struct{}{}))
10691069

1070+
cachePath := fmt.Sprintf("%s-%d", "/tmp/cache", node)
10701071
Eventually(func() models.Resources {
10711072
state, err := repClient.State(logger)
10721073
Expect(err).NotTo(HaveOccurred())
10731074
return state.AvailableResources
10741075
}).Should(Equal(models.Resources{
10751076
MemoryMB: 1024,
1076-
DiskMB: 10 * 1024,
1077+
DiskMB: expectedTotalDiskMB(cachePath),
10771078
Containers: 3,
10781079
}))
10791080
})

0 commit comments

Comments
 (0)