Skip to content

feat!: add datacenter and resource tests, print offer-info to stdout #7492

feat!: add datacenter and resource tests, print offer-info to stdout

feat!: add datacenter and resource tests, print offer-info to stdout #7492

Triggered via pull request January 18, 2025 10:19
Status Failure
Total duration 7m 36s
Artifacts

run-tests.yml

on: pull_request
fluence-cli  /  Run tests
6m 4s
fluence-cli / Run tests
Fit to window
Zoom out
Zoom in

Annotations

2 errors
test/tests/provider.test.ts > provider tests > create offer with newly added datacenter, update datacenter: packages/cli/package/src/lib/commandObj.ts#L34
Error: Invalid config at test/tmp/addDatacenter/provider.yaml. Errors: /offers/FR-PAR-1-Offer/dataCenterName must be equal to constant allowedValue: FR-PAR-1 /offers/FR-PAR-1-Offer/dataCenterName must be equal to constant allowedValue: DE-BER-1 /offers/FR-PAR-1-Offer/dataCenterName must be equal to constant allowedValue: DE-BER-2 /offers/FR-PAR-1-Offer/dataCenterName must be equal to constant allowedValue: US-NY-1 /offers/FR-PAR-1-Offer/dataCenterName must be equal to constant allowedValue: US-NY-2 /offers/FR-PAR-1-Offer/dataCenterName must be equal to constant allowedValue: PL-WA-1 /offers/FR-PAR-1-Offer/dataCenterName must be equal to constant allowedValue: PL-KR-1 /offers/FR-PAR-1-Offer/dataCenterName must match exactly one schema in oneOf passingSchemas: null ❯ Object.error src/lib/commandObj.ts:34:13 ❯ validateConfig src/lib/configs/initConfigNew.ts:255:25 ❯ Object.$commit src/lib/configs/initConfigNew.ts:195:11 ❯ test/tests/provider.test.ts:238:7 ❯ test/helpers/utils.ts:35:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: undefined, oclif: { exit: 2 }, skipOclifErrorHandling: undefined, suggestions: undefined, bang: '\u001b[31m›\u001b[39m', render: 'Function<render>' }
fluence-cli / Run tests
Process completed with exit code 1.