-
-
Notifications
You must be signed in to change notification settings - Fork 251
Description
Hello team,
I've the following configuration on Typescript:
const eannaContainer = await new GenericContainer(
'<server name>/eanna/release:4.3.0')
.withNetwork(network)
.withNetworkAliases('eannahost')
.withExposedPorts({
container: 8080,
host: 6080
})
.withCopyFilesToContainer(
[{source: rootE2gFolderPath + '/config/eanna/logback-spring.xml', target: '/deployments/config/logback-spring.xml'}])
.withEnvironment({
...eannaEnv,
JAVA_MAX_MEM_RATIO: '100',
JAVA_INIT_MEM_RATIO: '50'
})
.withStartupTimeout(300000) // wait 5 min
.withWaitStrategy(Wait.forHttp('/actuator/health', 8080))
.start();
But when I trigger it with our CI/CD pipeline, i get the following exception:
[21:33:27.404+02:00] - TypeError: The "iterable" argument must be an instance of Iterable. Received an instance of Object
[21:33:27.404+02:00] - at from (node:internal/streams/from:36:11)
[21:33:27.404+02:00] - at Function.Readable.from (node:internal/streams/readable:1729:10)
[21:33:27.404+02:00] - at DockerContainerClient.putArchive (/home/jenkins/agent/workspace/edossier2go-edossier/edossier2go-edossier-develop/build-deploy-test/angular-frontend/node_modules/.pnpm/[email protected]/node_modules/testcontainers/src/container-runtime/clients/container/docker-container-client.ts:78:37)
[21:33:27.404+02:00] - at processTicksAndRejections (node:internal/process/task_queues:105:5)
Note: this problem occurs only with the version testcontainers 10.23.0 or 10.24.0 but not with the version 10.21.0.
Do you know what you have changed recently that could cause this regression?
Thanks a lot
Luc