Skip to content

Commit

Permalink
fix: unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
shetzel committed Aug 19, 2024
1 parent 47fff3a commit 07f3328
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/client/metadataApiDeploy.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ describe('MetadataApiDeploy', () => {

await operation.start();
const result = await operation.pollStatus();
const expected = new DeployResult(response, deployedComponents);
const zipMeta = { zipSize: 4, zipFileCount: undefined };
const expected = new DeployResult(response, deployedComponents, undefined, zipMeta);

expect(result).to.deep.equal(expected);
});
Expand Down

2 comments on commit 07f3328

@svc-cli-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 07f3328 Previous: 51e004d Ratio
eda-componentSetCreate-linux 233 ms 227 ms 1.03
eda-sourceToMdapi-linux 2474 ms 2395 ms 1.03
eda-sourceToZip-linux 1952 ms 1913 ms 1.02
eda-mdapiToSource-linux 2939 ms 2889 ms 1.02
lotsOfClasses-componentSetCreate-linux 438 ms 442 ms 0.99
lotsOfClasses-sourceToMdapi-linux 3771 ms 3697 ms 1.02
lotsOfClasses-sourceToZip-linux 3234 ms 3245 ms 1.00
lotsOfClasses-mdapiToSource-linux 3699 ms 3586 ms 1.03
lotsOfClassesOneDir-componentSetCreate-linux 780 ms 755 ms 1.03
lotsOfClassesOneDir-sourceToMdapi-linux 6743 ms 6504 ms 1.04
lotsOfClassesOneDir-sourceToZip-linux 5907 ms 5643 ms 1.05
lotsOfClassesOneDir-mdapiToSource-linux 6518 ms 6478 ms 1.01

This comment was automatically generated by workflow using github-action-benchmark.

@svc-cli-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 07f3328 Previous: 51e004d Ratio
eda-componentSetCreate-win32 621 ms 607 ms 1.02
eda-sourceToMdapi-win32 4172 ms 4134 ms 1.01
eda-sourceToZip-win32 2937 ms 2979 ms 0.99
eda-mdapiToSource-win32 5636 ms 5596 ms 1.01
lotsOfClasses-componentSetCreate-win32 1243 ms 1175 ms 1.06
lotsOfClasses-sourceToMdapi-win32 7517 ms 7576 ms 0.99
lotsOfClasses-sourceToZip-win32 4901 ms 4977 ms 0.98
lotsOfClasses-mdapiToSource-win32 7796 ms 7646 ms 1.02
lotsOfClassesOneDir-componentSetCreate-win32 2075 ms 2071 ms 1.00
lotsOfClassesOneDir-sourceToMdapi-win32 13658 ms 13399 ms 1.02
lotsOfClassesOneDir-sourceToZip-win32 8962 ms 9016 ms 0.99
lotsOfClassesOneDir-mdapiToSource-win32 13923 ms 13756 ms 1.01

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.