File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
src/main/java/org/testcontainers/containers Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 3
3
## [ Unreleased]
4
4
- Fix problem if topology isn't applied correctly
5
5
- Bump testcontainers to 1.18.0
6
+ - Use add exposed ports instead of set exposed ports
6
7
7
8
## [ 0.5.4] - 2023-03-31
8
9
- Use tarantool image as base instead of centos in cartridge container
Original file line number Diff line number Diff line change 5
5
6
6
import org .testcontainers .containers .exceptions .CartridgeTopologyException ;
7
7
import org .testcontainers .images .builder .ImageFromDockerfile ;
8
+ import org .testcontainers .shaded .org .apache .commons .lang3 .ArrayUtils ;
8
9
9
10
import java .net .URL ;
10
11
import java .util .Arrays ;
@@ -458,7 +459,7 @@ protected void configure() {
458
459
addFixedExposedPort (port , port );
459
460
}
460
461
} else {
461
- withExposedPorts ( instanceFileParser .getExposablePorts ());
462
+ addExposedPorts ( ArrayUtils . toPrimitive ( instanceFileParser .getExposablePorts () ));
462
463
}
463
464
}
464
465
Original file line number Diff line number Diff line change @@ -349,7 +349,7 @@ protected void configure() {
349
349
if (useFixedPorts ) {
350
350
addFixedExposedPort (port , port );
351
351
} else {
352
- withExposedPorts (port );
352
+ addExposedPorts (port );
353
353
}
354
354
355
355
withCommand ("tarantool" , normalizePath (
You can’t perform that action at this time.
0 commit comments