testcontainers 11.0.2 → 11.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4,8 +4,8 @@ exports.inspectContainerUntilPortsExposed = inspectContainerUntilPortsExposed;
|
|
|
4
4
|
const common_1 = require("../common");
|
|
5
5
|
const map_inspect_result_1 = require("../utils/map-inspect-result");
|
|
6
6
|
const port_1 = require("../utils/port");
|
|
7
|
-
async function inspectContainerUntilPortsExposed(inspectFn, ports, containerId, timeout =
|
|
8
|
-
const result = await new common_1.IntervalRetry(
|
|
7
|
+
async function inspectContainerUntilPortsExposed(inspectFn, ports, containerId, timeout = 10_000) {
|
|
8
|
+
const result = await new common_1.IntervalRetry(250).retryUntil(async () => {
|
|
9
9
|
const inspectResult = await inspectFn();
|
|
10
10
|
const mappedInspectResult = (0, map_inspect_result_1.mapInspectResult)(inspectResult);
|
|
11
11
|
return { inspectResult, mappedInspectResult };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inspect-container-util-ports-exposed.js","sourceRoot":"","sources":["../../src/generic-container/inspect-container-util-ports-exposed.ts"],"names":[],"mappings":";;AAWA,8EA6BC;AAvCD,sCAA+C;AAE/C,oEAA+D;AAC/D,wCAA0E;AAOnE,KAAK,UAAU,iCAAiC,CACrD,SAA8C,EAC9C,KAAgC,EAChC,WAAmB,EACnB,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"inspect-container-util-ports-exposed.js","sourceRoot":"","sources":["../../src/generic-container/inspect-container-util-ports-exposed.ts"],"names":[],"mappings":";;AAWA,8EA6BC;AAvCD,sCAA+C;AAE/C,oEAA+D;AAC/D,wCAA0E;AAOnE,KAAK,UAAU,iCAAiC,CACrD,SAA8C,EAC9C,KAAgC,EAChC,WAAmB,EACnB,OAAO,GAAG,MAAM;IAEhB,MAAM,MAAM,GAAG,MAAM,IAAI,sBAAa,CAAgB,GAAG,CAAC,CAAC,UAAU,CACnE,KAAK,IAAI,EAAE;QACT,MAAM,aAAa,GAAG,MAAM,SAAS,EAAE,CAAC;QACxC,MAAM,mBAAmB,GAAG,IAAA,qCAAgB,EAAC,aAAa,CAAC,CAAC;QAC5D,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,CAAC;IAChD,CAAC,EACD,CAAC,EAAE,mBAAmB,EAAE,EAAE,EAAE,CAC1B,KAAK;SACF,GAAG,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,IAAA,uBAAgB,EAAC,WAAW,CAAC,CAAC;SACnD,KAAK,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,mBAAmB,CAAC,KAAK,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,EAC/E,GAAG,EAAE;QACH,MAAM,OAAO,GAAG,mDAAmD,CAAC;QACpE,YAAG,CAAC,KAAK,CAAC,OAAO,EAAE,EAAE,WAAW,EAAE,CAAC,CAAC;QACpC,OAAO,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC;IAC5B,CAAC,EACD,OAAO,CACR,CAAC;IAEF,IAAI,MAAM,YAAY,KAAK,EAAE,CAAC;QAC5B,MAAM,MAAM,CAAC;IACf,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
package/build/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const LIB_VERSION = "11.0.
|
|
1
|
+
export declare const LIB_VERSION = "11.0.3";
|
package/build/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "testcontainers",
|
|
3
|
-
"version": "11.0.
|
|
3
|
+
"version": "11.0.3",
|
|
4
4
|
"author": "Cristian Greco",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"byline": "^5.0.0",
|
|
38
38
|
"debug": "^4.4.1",
|
|
39
39
|
"docker-compose": "^1.2.0",
|
|
40
|
-
"dockerode": "^4.0.
|
|
40
|
+
"dockerode": "^4.0.7",
|
|
41
41
|
"get-port": "^7.1.0",
|
|
42
42
|
"proper-lockfile": "^4.1.2",
|
|
43
43
|
"properties-reader": "^2.3.0",
|