-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Perf Framework] rename perfstress to perf and runAsync to run (#18290)
Reported in #18033. Basically did a bulk find+replace everywhere. Things _seem_ to be working OK, but wouldn't be surprised if there's something somewhere I've missed, or somewhere where I've replaced something I shouldn't. I've split the rename of PerfStress -> Perf and runAsync -> run into two commits for ease of review :)
- Loading branch information
Showing
173 changed files
with
540 additions
and
567 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
sdk/appconfiguration/perf-tests/app-configuration/test/appConfigBase.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
sdk/appconfiguration/perf-tests/app-configuration/test/index.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import { PerfStressProgram, selectPerfStressTest } from "@azure/test-utils-perfstress"; | ||
import { PerfProgram, selectPerfTest } from "@azure/test-utils-perf"; | ||
import { ListSettingsTest } from "./listSettings.spec"; | ||
|
||
console.log("=== Starting the perfStress test ==="); | ||
console.log("=== Starting the perf test ==="); | ||
|
||
const perfStressProgram = new PerfStressProgram(selectPerfStressTest([ListSettingsTest])); | ||
const perfProgram = new PerfProgram(selectPerfTest([ListSettingsTest])); | ||
|
||
perfStressProgram.run(); | ||
perfProgram.run(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
sdk/containerregistry/perf-tests/container-registry/test/client.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 4 additions & 6 deletions
10
sdk/containerregistry/perf-tests/container-registry/test/index.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT license. | ||
|
||
import { PerfStressProgram, selectPerfStressTest } from "@azure/test-utils-perfstress"; | ||
import { PerfProgram, selectPerfTest } from "@azure/test-utils-perf"; | ||
import { ArtifactListTest } from "./listArtifacts.spec"; | ||
import { RepositoryListTest } from "./listRepositories.spec"; | ||
console.log("=== Starting the perfStress test ==="); | ||
console.log("=== Starting the perf test ==="); | ||
|
||
const perfStressProgram = new PerfStressProgram( | ||
selectPerfStressTest([RepositoryListTest, ArtifactListTest]) | ||
); | ||
perfStressProgram.run(); | ||
const perfProgram = new PerfProgram(selectPerfTest([RepositoryListTest, ArtifactListTest])); | ||
perfProgram.run(); |
6 changes: 3 additions & 3 deletions
6
sdk/containerregistry/perf-tests/container-registry/test/listArtifacts.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
sdk/containerregistry/perf-tests/container-registry/test/listRepositories.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
import { PerfStressProgram, selectPerfStressTest } from "@azure/test-utils-perfstress"; | ||
import { PerfProgram, selectPerfTest } from "@azure/test-utils-perf"; | ||
import { BearerTokenAuthenticationPolicyChallengeTest } from "./bearerTokenChallengeAuthenticationPolicy/wwwChallenge.spec"; | ||
|
||
console.log("=== Starting the perfStress test ==="); | ||
console.log("=== Starting the perf test ==="); | ||
|
||
const perfStressProgram = new PerfStressProgram( | ||
selectPerfStressTest([BearerTokenAuthenticationPolicyChallengeTest]) | ||
); | ||
const perfProgram = new PerfProgram(selectPerfTest([BearerTokenAuthenticationPolicyChallengeTest])); | ||
|
||
perfStressProgram.run(); | ||
perfProgram.run(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT license. | ||
|
||
import { PerfStressProgram, selectPerfStressTest } from "@azure/test-utils-perfstress"; | ||
import { PerfProgram, selectPerfTest } from "@azure/test-utils-perf"; | ||
import { SendCloudEventsTest } from "./sendCloudEvents.spec"; | ||
|
||
import dotenv from "dotenv"; | ||
dotenv.config(); | ||
|
||
console.log("=== Starting the perfStress test ==="); | ||
console.log("=== Starting the perf test ==="); | ||
|
||
const perfStressProgram = new PerfStressProgram(selectPerfStressTest([SendCloudEventsTest])); | ||
const perfProgram = new PerfProgram(selectPerfTest([SendCloudEventsTest])); | ||
|
||
perfStressProgram.run(); | ||
perfProgram.run(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
sdk/eventhub/perf-tests/event-hubs-track-1/test/index.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT license. | ||
|
||
import { PerfStressProgram, selectPerfStressTest } from "@azure/test-utils-perfstress"; | ||
import { PerfProgram, selectPerfTest } from "@azure/test-utils-perf"; | ||
import { SendTest } from "./send.spec"; | ||
|
||
console.log("=== Starting the perfStress test ==="); | ||
console.log("=== Starting the perf test ==="); | ||
|
||
const perfStressProgram = new PerfStressProgram(selectPerfStressTest([SendTest])); | ||
const perfProgram = new PerfProgram(selectPerfTest([SendTest])); | ||
|
||
perfStressProgram.run(); | ||
perfProgram.run(); |
Oops, something went wrong.