Skip to content

Commit

Permalink
Fix for test.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmaytak committed Aug 10, 2023
1 parent 3833728 commit 93c86f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/benchmark-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
tool: 'benchmarkdotnet'
output-file-path: tests/Microsoft.Identity.Test.Performance/BenchmarkDotNet.Artifacts/results/Microsoft.Identity.Test.Performance.AcquireTokenNoCacheTests-report-full-compressed.json
github-token: ${{ secrets.GITHUB_TOKEN }}
external-data-json-path: ./cache/benchmark-data-no-cache.json
# external-data-json-path: ./cache/benchmark-data-no-cache.json
# Show alert with commit comment on detecting possible performance regression
alert-threshold: '130%'
comment-on-alert: true
Expand Down Expand Up @@ -101,5 +101,5 @@ jobs:
# benchmark-data-dir-path: benchmarks

- name: Publish GibHub Pages
run: git switch gh-pages && git push gh-pages:gh-pages
run: git branch && git switch gh-pages && git push gh-pages:gh-pages
# if: github.event_name != 'pull_request'
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public async Task<AuthenticationResult> AcquireTokenForClient_TestAsync()
.ConfigureAwait(false);
}

[Benchmark(Description = PerfConstants.AcquireTokenForObo)]
//[Benchmark(Description = PerfConstants.AcquireTokenForObo)]
[BenchmarkCategory("No cache")]
public async Task<AuthenticationResult> AcquireTokenOnBehalfOf_TestAsync()
{
Expand Down

0 comments on commit 93c86f0

Please sign in to comment.