-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[Storage] Stress tests in pipeline? #21030
Merged
kasobol-msft
merged 23 commits into
Azure:master
from
kasobol-msft:resource-constrained-test
May 18, 2021
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
e4a73b7
draft.
kasobol-msft d7eb205
Merge remote-tracking branch 'upstream/master' into resource-constrai…
kasobol-msft 5f9a986
does this work ?
kasobol-msft 40c3bd4
try this.
kasobol-msft be5a803
well, here is verbosity...
kasobol-msft fbb7011
Merge remote-tracking branch 'upstream/master' into resource-constrai…
kasobol-msft 326ad61
disable tests temporarily
kasobol-msft a2d29c8
try this.
kasobol-msft 478309b
ugh..
kasobol-msft 4c7ba2b
right java ?
kasobol-msft d4c4810
right java ?
kasobol-msft fac73ea
try this.
kasobol-msft 3dea100
try this.
kasobol-msft eff14bb
comment out hanging case.
kasobol-msft 02aa1ce
make sure at least iteration completes
kasobol-msft bbecc1c
undo maven way...
kasobol-msft ab92b86
undo disable tests.
kasobol-msft 0c8adab
refactor.
kasobol-msft 15b0db1
this normally completes faster now.
kasobol-msft ebd3e2c
this isn't necessary.
kasobol-msft b5afc84
Revert "this isn't necessary."
kasobol-msft ac33658
this isn't necessary
kasobol-msft 1964409
add assertion to make sure we don't regress "at least one operation c…
kasobol-msft File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
23 changes: 23 additions & 0 deletions
23
sdk/storage/azure-storage-perf/memory-stress-scenarios.ps1
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
$JavaPath = Join-Path -Path $Env:JAVA_HOME -ChildPath "bin" | Join-Path -ChildPath "java" | ||
$TargetDirPath = Join-Path -Path $PSScriptRoot -ChildPath "target" | ||
$PerfJarPath = Get-ChildItem -Path (Join-Path -Path $TargetDirPath -ChildPath "*") -Include azure-storage-perf-*-jar-with-dependencies.jar -File | ||
|
||
Invoke-Expression "& '$JavaPath' -version" | ||
|
||
function Run-Scenario { | ||
param ( | ||
[Parameter(Mandatory=$true, Position=0)] | ||
[string] $HeapSize, | ||
[Parameter(Mandatory=$true, Position=1)] | ||
[string] $Scenario | ||
) | ||
Write-Host "Executing '$Scenario' with '$HeapSize' heap" | ||
Invoke-Expression "& '$JavaPath' -Xms$HeapSize -Xmx$HeapSize -jar '$PerfJarPath' $Scenario" | ||
if ($LASTEXITCODE -ne 0) { | ||
Write-Host "Scenario failed, exiting" | ||
exit 1 | ||
} | ||
} | ||
|
||
Run-Scenario "700m" "uploadoutputstream --warmup 0 --duration 1 --size 1048576000 --sync" | ||
Run-Scenario "700m" "uploadblob --warmup 0 --duration 1 --size 1048576000" | ||
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for some reason going below 700m doesn't work on Java 11. Java 8 is less greedy...