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 4
4
- Fix problem if topology isn't applied correctly
5
5
- Bump testcontainers to 1.18.0
6
6
- Move rocks building in build phase
7
+ - Use add exposed ports instead of set exposed ports
7
8
8
9
## [ 0.5.4] - 2023-03-31
9
10
- 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 ;
@@ -463,7 +464,7 @@ protected void configure() {
463
464
addFixedExposedPort (port , port );
464
465
}
465
466
} else {
466
- withExposedPorts ( instanceFileParser .getExposablePorts ());
467
+ addExposedPorts ( ArrayUtils . toPrimitive ( instanceFileParser .getExposablePorts () ));
467
468
}
468
469
}
469
470
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