Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration-cadl-ranch #2936

Draft
wants to merge 48 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
0d2febd
migration-cadl-ranch
v-jiaodi Dec 3, 2024
bd0b7e4
update
v-jiaodi Dec 3, 2024
bf3de02
update script
v-jiaodi Dec 3, 2024
b00cac2
update ci job
v-jiaodi Dec 3, 2024
d784a92
fix ci
v-jiaodi Dec 3, 2024
0234b27
update
v-jiaodi Dec 3, 2024
460ea90
update ci
v-jiaodi Dec 3, 2024
77ed465
fix ci
v-jiaodi Dec 3, 2024
3e383fe
remove check voverage for Mac OS
v-jiaodi Dec 4, 2024
83fe965
remove check voverage for Mac OS
v-jiaodi Dec 4, 2024
5341afa
remove check coverage for Mac OS
v-jiaodi Dec 4, 2024
6a3bded
remove check coverage for Mac OS
v-jiaodi Dec 4, 2024
4dda106
Merge branch 'main' of https://github.com/Azure/autorest.typescript i…
v-jiaodi Dec 5, 2024
465712a
Merge branch 'main' of https://github.com/Azure/autorest.typescript i…
v-jiaodi Dec 13, 2024
24c502b
update version
v-jiaodi Dec 13, 2024
97b18d5
update case
v-jiaodi Dec 13, 2024
d810af3
update
v-jiaodi Dec 13, 2024
1310af1
fix ci
v-jiaodi Dec 13, 2024
d96cacd
update
v-jiaodi Dec 13, 2024
6662937
update
v-jiaodi Dec 13, 2024
3b3230c
update sub
v-jiaodi Dec 16, 2024
17464a7
update coverage file
v-jiaodi Dec 16, 2024
42ca3c7
update
v-jiaodi Dec 16, 2024
584e8d3
update ci
v-jiaodi Dec 16, 2024
9c0758d
update ci
v-jiaodi Dec 16, 2024
f4524a3
add debug
v-jiaodi Dec 16, 2024
784dfe2
update ci
v-jiaodi Dec 17, 2024
15c37d6
update
v-jiaodi Dec 17, 2024
1306c8f
update
v-jiaodi Dec 17, 2024
7a612ca
sync up azure model case
v-jiaodi Dec 19, 2024
522365d
Merge branch 'main' of https://github.com/Azure/autorest.typescript i…
v-jiaodi Dec 19, 2024
f7ab6f9
update script for ci
v-jiaodi Dec 20, 2024
cc95813
update job name
v-jiaodi Dec 20, 2024
c76dcae
check file
v-jiaodi Dec 23, 2024
527672c
update script
v-jiaodi Dec 23, 2024
07ea330
remove test step
v-jiaodi Dec 23, 2024
65bdea5
Merge branch 'main' of https://github.com/Azure/autorest.typescript i…
v-jiaodi Dec 27, 2024
b1229d1
Merge branch 'main' of https://github.com/Azure/autorest.typescript i…
v-jiaodi Jan 2, 2025
5a24cb6
migration cadl ranch
v-jiaodi Jan 3, 2025
e2268d3
misspelling
v-jiaodi Jan 3, 2025
7ba0976
add test case
v-jiaodi Jan 3, 2025
c8fb5b6
update
v-jiaodi Jan 3, 2025
021eb65
remove .env
v-jiaodi Jan 6, 2025
80a9c52
Merge branch 'main' of https://github.com/Azure/autorest.typescript i…
v-jiaodi Jan 7, 2025
4877f53
update
v-jiaodi Jan 8, 2025
470aed0
remove case
v-jiaodi Jan 8, 2025
a538fed
update test case
v-jiaodi Jan 8, 2025
110a01f
Merge branch 'main' of https://github.com/Azure/autorest.typescript i…
v-jiaodi Jan 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
390 changes: 172 additions & 218 deletions common/config/rush/pnpm-lock.yaml

Large diffs are not rendered by default.

40 changes: 25 additions & 15 deletions packages/typespec-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,35 +26,45 @@
"check-format": "npm run prettier -- --check",
"prettier": "prettier --config ./.prettierrc \"src/**/*.ts\"",
"check:tree": "node --loader ts-node/esm ./test/commands/check-clean-tree.ts",
"integration-test-ci": "npm-run-all copy:typespec integration-test-ci:rlc integration-test-ci:modular integration-test-ci:non-branded-rlc integration-test-ci:non-branded-modular",
"integration-test-ci": "npm-run-all copy:typespec integration-test-ci:rlc integration-test-ci:azure-rlc integration-test-ci:modular integration-test-ci:azure-modular integration-test-ci:non-branded-rlc integration-test-ci:non-branded-modular",
"integration-test-ci:sequential": "npm-run-all --serial copy:typespec integration-test-ci:modular && npm run integration-test-ci:modular",
"integration-test-ci:rlc": "npm-run-all --silent -p start-test-server:rlc --race generate-and-run:rlc",
"integration-test-ci:azure-rlc": "npm-run-all --silent -p start-test-server:azure-rlc --race generate-and-run:azure-rlc",
"integration-test-ci:modular": "npm-run-all --silent -p start-test-server:modular --race generate-and-run:modular",
"integration-test-ci:azure-modular": "npm-run-all --silent -p start-test-server:azure-modular --race generate-and-run:azure-modular",
"integration-test-ci:non-branded-rlc": "npm-run-all --silent -p start-test-server:non-branded-rlc --race generate-and-run:non-branded-rlc",
"integration-test-ci:non-branded-modular": "npm-run-all --silent -p start-test-server:non-branded-modular --race generate-and-run:non-branded-modular",
"start-test-server": "mkdirp -p coverage && npx cadl-ranch serve ./node_modules/@azure-tools/cadl-ranch-specs/http --coverageFile ./coverage/cadl-ranch-coverage-typescript.json",
"start-test-server:rlc": "mkdirp -p coverage && npx cadl-ranch serve ./node_modules/@azure-tools/cadl-ranch-specs/http --coverageFile ./coverage/cadl-ranch-coverage-typescript-rlc-azure.json",
"start-test-server:modular": "mkdirp -p coverage && npx cadl-ranch serve ./node_modules/@azure-tools/cadl-ranch-specs/http --port 3002 --coverageFile ./coverage/cadl-ranch-coverage-typescript-modular-azure.json",
"start-test-server:non-branded-rlc": "mkdirp -p coverage && npx cadl-ranch serve ./node_modules/@azure-tools/cadl-ranch-specs/http --port 3003 --coverageFile ./coverage/cadl-ranch-coverage-typescript-rlc-standard.json",
"start-test-server:non-branded-modular": "mkdirp -p coverage && npx cadl-ranch serve ./node_modules/@azure-tools/cadl-ranch-specs/http --port 3004 --coverageFile ./coverage/cadl-ranch-coverage-typescript-modular-standard.json",
"copy:typespec": "rm -rf temp && mkdirp -p temp && cp -r ./node_modules/@azure-tools/cadl-ranch-specs/* ./temp && cp -r ./test/integration/typespec/* ./temp/http",
"start-test-server": "mkdirp -p coverage && npx tsp-spector serve ./node_modules/@typespec/http-specs/specs --coverageFile ./coverage/cadl-ranch-coverage-typescript.json",
"start-test-server:rlc": "mkdirp -p coverage && npx tsp-spector serve ./node_modules/@typespec/http-specs/specs --coverageFile ./coverage/cadl-ranch-coverage-typescript-rlc-azure.json",
"start-test-server:azure-rlc": "npx tsp-spector serve ./node_modules/@azure-tools/azure-http-specs/specs --port 3005 --coverageFile ./coverage/cadl-ranch-coverage-typescript-azureRlc-azure.json",
"start-test-server:modular": "mkdirp -p coverage && npx tsp-spector serve ./node_modules/@typespec/http-specs/specs --port 3002 --coverageFile ./coverage/cadl-ranch-coverage-typescript-modular-azure.json",
"start-test-server:azure-modular": "mkdirp -p coverage && npx tsp-spector serve ./node_modules/@azure-tools/azure-http-specs/specs --port 3006 --coverageFile ./coverage/cadl-ranch-coverage-typescript-azureModular-azure.json",
"start-test-server:non-branded-rlc": "mkdirp -p coverage && npx tsp-spector serve ./node_modules/@typespec/http-specs/specs --port 3003 --coverageFile ./coverage/cadl-ranch-coverage-typescript-rlc-standard.json",
"start-test-server:non-branded-modular": "mkdirp -p coverage && npx tsp-spector serve ./node_modules/@typespec/http-specs/specs --port 3004 --coverageFile ./coverage/cadl-ranch-coverage-typescript-modular-standard.json",
"copy:typespec": "rm -rf temp && mkdirp -p temp && cp -r ./node_modules/@typespec/http-specs/* ./temp && cp -r ./node_modules/@azure-tools/azure-http-specs/specs/* ./temp/specs && cp -r ./test/integration/typespec/* ./temp/specs",
"generate-and-run:rlc": "npm run generate-tsp-only:rlc && npm run integration-test:alone:rlc && npm run stop-test-server -- -p 3000",
"generate-and-run:azure-rlc": "npm run generate-tsp-only:azure-rlc && npm run integration-test:alone:azure-rlc && npm run stop-test-server -- -p 3005",
"generate-and-run:modular": "npm run generate-tsp-only:modular && npm run integration-test:alone:modular && npm run stop-test-server -- -p 3002",
"generate-and-run:azure-modular": "npm run generate-tsp-only:azure-modular && npm run integration-test:alone:azure-modular && npm run stop-test-server -- -p 3006",
"generate-and-run:non-branded-rlc": "npm run generate-tsp-only:non-branded-rlc && npm run integration-test:alone:non-branded-rlc && npm run stop-test-server -- -p 3003",
"generate-and-run:non-branded-modular": "npm run generate-tsp-only:non-branded-modular && npm run integration-test:alone:non-branded-modular && npm run stop-test-server -- -p 3004",
"generate-tsp-only": "npm run generate-tsp-only:rlc && npm run generate-tsp-only:modular && npm run generate-tsp-only:non-branded-rlc && npm run generate-tsp-only:non-branded-modular",
"generate-tsp-only:rlc": "npx tsx ./test/commands/gen-cadl-ranch.js --tag=rlc",
"generate-tsp-only:modular": "npx tsx ./test/commands/gen-cadl-ranch.js --tag=modular",
"generate-tsp-only:rlc": "npx tsx ./test/commands/gen-cadl-ranch.js --tag=rlc && npm run generate-tsp-only:azure-rlc",
"generate-tsp-only:azure-rlc": "npx tsx ./test/commands/gen-cadl-ranch.js --tag=azure_rlc",
"generate-tsp-only:modular": "npx tsx ./test/commands/gen-cadl-ranch.js --tag=modular && npm run generate-tsp-only:azure-modular",
"generate-tsp-only:azure-modular": "npx tsx ./test/commands/gen-cadl-ranch.js --tag=azure_modular",
"generate-tsp-only:non-branded": "npm run generate-tsp-only:non-branded-rlc && npm run generate-tsp-only:non-branded-modular",
"generate-tsp-only:non-branded-rlc": "npx tsx ./test/commands/gen-cadl-ranch.js --tag=non-branded-rlc",
"generate-tsp-only:non-branded-modular": "npx tsx ./test/commands/gen-cadl-ranch.js --tag=non-branded-modular",
"regen-test-baselines": "npm run generate-tsp-only && npm run generate-tsp-only:non-branded",
"integration-test:alone": "npm run integration-test:alone:rlc && npm run integration-test:alone:modular",
"integration-test:alone": "npm run integration-test:alone:rlc && npm run integration-test:alone:azure-rlc && npm run integration-test:alone:modular && npm run integration-test:alone:azure-modular",
"integration-test:alone:rlc": "cross-env TS_NODE_PROJECT=tsconfig.integration.json mocha -r ts-node/register --experimental-specifier-resolution=node --timeout 36000 ./test/integration/*.spec.ts",
"integration-test:alone:azure-rlc": "cross-env TS_NODE_PROJECT=tsconfig.integration.json mocha -r ts-node/register --experimental-specifier-resolution=node --timeout 36000 ./test/azureIntegration/*.spec.ts",
"integration-test:alone:modular": "cross-env TS_NODE_PROJECT=tsconfig.integration.json mocha -r ts-node/register --experimental-specifier-resolution=node --timeout 36000 ./test/modularIntegration/*.spec.ts",
"integration-test:alone:azure-modular": "cross-env TS_NODE_PROJECT=tsconfig.integration.json mocha -r ts-node/register --experimental-specifier-resolution=node --timeout 36000 ./test/azureModularIntegration/*.spec.ts",
"integration-test:alone:non-branded-rlc": "cross-env TS_NODE_PROJECT=tsconfig.integration.json mocha -r ts-node/register --experimental-specifier-resolution=node --timeout 36000 ./test/nonBrandedIntegration/rlc/*.spec.ts",
"integration-test:alone:non-branded-modular": "cross-env TS_NODE_PROJECT=tsconfig.integration.json mocha -r ts-node/register --experimental-specifier-resolution=node --timeout 36000 ./test/nonBrandedIntegration/modular/*.spec.ts",
"stop-test-server": "npx cadl-ranch server stop",
"stop-test-server": "npx tsp-spector server stop",
"unit-test": "npm-run-all --parallel unit-test:rlc unit-test:modular",
"unit-test:rlc": "cross-env TS_NODE_PROJECT=tsconfig.json mocha -r ts-node/register --experimental-specifier-resolution=node --experimental-modules=true --timeout 36000 './test/unit/**/*.spec.ts'",
"unit-test:modular": "cross-env TS_NODE_PROJECT=tsconfig.json mocha -r ts-node/register --experimental-specifier-resolution=node --experimental-modules=true --no-timeout './test/modularUnit/**/*.spec.ts'"
Expand All @@ -63,10 +73,10 @@
"license": "MIT",
"devDependencies": {
"@azure-rest/core-client": "^2.3.1",
"@azure-tools/cadl-ranch-expect": "^0.15.6",
"@azure-tools/cadl-ranch-specs": "^0.39.2",
"@azure-tools/cadl-ranch": "^0.16.1",
"@azure-tools/cadl-ranch-api": "^0.5.0",
"@typespec/http-specs": "latest",
v-jiaodi marked this conversation as resolved.
Show resolved Hide resolved
"@typespec/spector": "latest",
"@typespec/spec-api": "latest",
"@azure-tools/azure-http-specs": "latest",
"@azure-tools/typespec-autorest": ">=0.48.0 <1.0.0",
"@azure-tools/typespec-azure-core": ">=0.48.0 <1.0.0",
"@azure-tools/typespec-azure-resource-manager": ">=0.48.0 <1.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ describe("Azure Arm Resources Rest Client", () => {

beforeEach(() => {
client = AzureArmModelsCommonTypesManagedIdentityClientFactory({
endpoint: "http://localhost:3000",
endpoint: "http://localhost:3005",
allowInsecureConnection: true
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe("Azure Arm Resources Rest Client", () => {

beforeEach(() => {
client = AzureArmResourceClientFactory({
endpoint: "http://localhost:3000",
endpoint: "http://localhost:3005",
allowInsecureConnection: true
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ describe("Access Client", () => {
beforeEach(() => {
client = AccessClientFactory({
allowInsecureConnection: true,
retryOptions: {
maxRetries: 0
}
endpoint: "http://localhost:3005"
});
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ describe("Usage Client", () => {
beforeEach(() => {
client = UsageClientFactory({
allowInsecureConnection: true,
retryOptions: {
maxRetries: 0
}
endpoint: "http://localhost:3005"
});
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ describe("Azure Core Traits Rest Client", () => {
beforeEach(() => {
client = AzureCoreModelClientFactory({
allowInsecureConnection: true,
retryOptions: {
maxRetries: 0
}
endpoint: "http://localhost:3005"
});
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ describe("Azure Core Page Rest Client", () => {

beforeEach(() => {
client = AzureCorePageClientFactory({
allowInsecureConnection: true
allowInsecureConnection: true,
endpoint: "http://localhost:3005"
});
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ describe("Azure Core Rest Client", () => {
beforeEach(() => {
client = AzureCoreClientFactory({
allowInsecureConnection: true,
retryOptions: {
maxRetries: 0
}
endpoint: "http://localhost:3005"
});
});
const validUser = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ describe("Azure Core Saclar Rest Client", () => {

beforeEach(() => {
client = AzureCoreScalarClientFactory({
allowInsecureConnection: true
allowInsecureConnection: true,
endpoint: "http://localhost:3005"
});
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ describe("Azure Core Traits Rest Client", () => {
beforeEach(() => {
client = AzureCoreTraitsClientFactory({
allowInsecureConnection: true,
retryOptions: {
maxRetries: 0
}
endpoint: "http://localhost:3005"
});
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ describe("ClientEncodedNameClient Rest Client", () => {
beforeEach(() => {
client = NamingClientFactory({
allowInsecureConnection: true,
retryOptions: {
maxRetries: 0
}
endpoint: "http://localhost:3005"
});
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ describe("ClientRequestIdClient", () => {
beforeEach(() => {
client = XmsClientRequestIdClientFactory({
allowInsecureConnection: true,
retryOptions: {
maxRetries: 0
}
endpoint: "http://localhost:3005"
});
});

Expand Down Expand Up @@ -42,9 +40,7 @@ describe("ClientRequestIdClient", () => {
const headerName = "x-ms-test-for-js";
client = XmsClientRequestIdClientFactory({
allowInsecureConnection: true,
retryOptions: {
maxRetries: 0
},
endpoint: "http://localhost:3005",
telemetryOptions: {
clientRequestIdHeaderName: headerName
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,32 +24,32 @@ describe("ClientStructureClient Rest Client", () => {
let clientArray: Client[];

beforeEach(() => {
client0 = ServiceDefaultClientFactory("http://localhost:3000", "default", {
client0 = ServiceDefaultClientFactory("http://localhost:3005", "default", {
allowInsecureConnection: true
});
client1 = ServiceMultiClientFactory(
"http://localhost:3000",
"http://localhost:3005",
"multi-client",
{
allowInsecureConnection: true
}
);
client2 = ServiceRenamedClientFactory(
"http://localhost:3000",
"http://localhost:3005",
"renamed-operation",
{
allowInsecureConnection: true
}
);
client3 = ServiceTwoOpGroupClientFactory(
"http://localhost:3000",
"http://localhost:3005",
"two-operation-group",
{
allowInsecureConnection: true
}
);
client4 = ServiceOperationGroupClientFactory(
"http://localhost:3000",
"http://localhost:3005",
"default",
{
allowInsecureConnection: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ describe("AzureLroCoreClient Rest Client", () => {

beforeEach(() => {
client = SpecsAzureCoreLroStandardClientFactory({
allowInsecureConnection: true
allowInsecureConnection: true,
endpoint: "http://localhost:3005"
});
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ describe("RpcClient Rest Client", () => {

beforeEach(() => {
client = SpecsAzureCoreLroStandardClientFactory({
allowInsecureConnection: true
allowInsecureConnection: true,
endpoint: "http://localhost:3005"
});
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ describe("Flatten Property Rest Client", () => {

beforeEach(() => {
client = FlattenPropertyClientFactory({
allowInsecureConnection: true
allowInsecureConnection: true,
endpoint: "http://localhost:3005"
});
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ describe("Pageable Client", () => {
beforeEach(() => {
client = PageableClientFactory({
allowInsecureConnection: true,
retryOptions: {
maxRetries: 0
}
endpoint: "http://localhost:3005"
});
});

Expand All @@ -27,7 +25,7 @@ describe("Pageable Client", () => {
assert.strictEqual(result.body.value[2]?.name, "user7");
assert.strictEqual(
result.body.nextLink,
"http://localhost:3000/payload/pageable?skipToken=name-user7&maxpagesize=3"
"http://localhost:3005/payload/pageable?skipToken=name-user7&maxpagesize=3"
);
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@ describe("ResiliencyDevDrivenClient Rest Client", () => {
let client22: ServiceDrivenNewClient;

beforeEach(() => {
client11 = ServiceDrivenOldClientFactory("http://localhost:3000", "v1", {
client11 = ServiceDrivenOldClientFactory("http://localhost:3005", "v1", {
allowInsecureConnection: true,
apiVersion: "v1"
});
client12 = ServiceDrivenOldClientFactory("http://localhost:3000", "v2", {
client12 = ServiceDrivenOldClientFactory("http://localhost:3005", "v2", {
allowInsecureConnection: true,
apiVersion: "v1"
});
client21 = ServiceDrivenNewClientFactory("http://localhost:3000", "v2", {
client21 = ServiceDrivenNewClientFactory("http://localhost:3005", "v2", {
allowInsecureConnection: true,
apiVersion: "v1"
});
client22 = ServiceDrivenNewClientFactory("http://localhost:3000", "v2", {
client22 = ServiceDrivenNewClientFactory("http://localhost:3005", "v2", {
allowInsecureConnection: true,
apiVersion: "v2"
});
Expand Down Expand Up @@ -139,7 +139,7 @@ describe("ResiliencyDevDrivenClient Rest Client", () => {

it("should work with add operation", async () => {
const client122 = ServiceDrivenOldClientFactory(
"http://localhost:3000",
"http://localhost:3005",
"v2",
{
allowInsecureConnection: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ describe("Azure Arm Resources Rest Client", () => {

beforeEach(() => {
client = new CommonPropertiesClient({
endpoint: "http://localhost:3002",
endpoint: "http://localhost:3006",
allowInsecureConnection: true
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ describe("Azure Arm Resources Rest Client", () => {

beforeEach(() => {
client = new ResourcesClient("00000000-0000-0000-0000-000000000000", {
endpoint: "http://localhost:3002",
endpoint: "http://localhost:3006",
allowInsecureConnection: true
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,8 @@ describe("Azure ClientGeneratorCore Access Client", () => {

beforeEach(() => {
client = new AccessClient({
endpoint: "http://localhost:3002",
allowInsecureConnection: true,
retryOptions: {
maxRetries: 0
}
endpoint: "http://localhost:3006",
allowInsecureConnection: true
});
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,8 @@ describe("Azure ClientGeneratorCore Usage Client", () => {

beforeEach(() => {
client = new UsageClient({
endpoint: "http://localhost:3002",
allowInsecureConnection: true,
retryOptions: {
maxRetries: 0
}
endpoint: "http://localhost:3006",
allowInsecureConnection: true
});
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ describe("BasicClient Classical Client", () => {

beforeEach(() => {
client = new BasicClient({
endpoint: "http://localhost:3002",
endpoint: "http://localhost:3006",
allowInsecureConnection: true
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ describe("Traits Client", () => {

beforeEach(() => {
client = new ModelClient({
endpoint: "http://localhost:3002",
endpoint: "http://localhost:3006",
allowInsecureConnection: true
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ describe("Page Client", () => {

beforeEach(() => {
client = new PageClient({
endpoint: "http://localhost:3002",
endpoint: "http://localhost:3006",
allowInsecureConnection: true
});
});
Expand Down
Loading
Loading