Merge pull request #16440 from fuweid/use-larger-runner

*: enable ubuntu-latest-8-cores runner for amd64 robustness workflow
This commit is contained in:
Marek Siarkowicz 2023-08-21 10:05:50 +02:00 committed by GitHub
commit 3d32447e8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 2 deletions

View File

@ -15,6 +15,7 @@ jobs:
count: 80 count: 80
testTimeout: 200m testTimeout: 200m
artifactName: main artifactName: main
runs-on: "['ubuntu-latest-8-cores']"
main-arm64: main-arm64:
uses: ./.github/workflows/robustness-template.yaml uses: ./.github/workflows/robustness-template.yaml
with: with:
@ -30,6 +31,7 @@ jobs:
count: 80 count: 80
testTimeout: 200m testTimeout: 200m
artifactName: release-35 artifactName: release-35
runs-on: "['ubuntu-latest-8-cores']"
release-35-arm64: release-35-arm64:
uses: ./.github/workflows/robustness-template.yaml uses: ./.github/workflows/robustness-template.yaml
with: with:
@ -45,3 +47,4 @@ jobs:
count: 80 count: 80
testTimeout: 200m testTimeout: 200m
artifactName: release-34 artifactName: release-34
runs-on: "['ubuntu-latest-8-cores']"

View File

@ -10,3 +10,4 @@ jobs:
count: 12 count: 12
testTimeout: 30m testTimeout: 30m
artifactName: main artifactName: main
runs-on: "['ubuntu-latest-8-cores']"

View File

@ -78,7 +78,7 @@ func TestRobustness(t *testing.T) {
clusterOfSize1Options := baseOptions clusterOfSize1Options := baseOptions
clusterOfSize1Options = append(clusterOfSize1Options, e2e.WithClusterSize(1)) clusterOfSize1Options = append(clusterOfSize1Options, e2e.WithClusterSize(1))
// Add LazyFS only for traffic with lower QPS as it uses a lot of CPU lowering minimal QPS. // Add LazyFS only for traffic with lower QPS as it uses a lot of CPU lowering minimal QPS.
if enableLazyFS && tp.Profile.MinimalQPS <= 80 { if enableLazyFS && tp.Profile.MinimalQPS <= 100 {
clusterOfSize1Options = append(clusterOfSize1Options, e2e.WithLazyFSEnabled(true)) clusterOfSize1Options = append(clusterOfSize1Options, e2e.WithLazyFSEnabled(true))
name = filepath.Join(name, "LazyFS") name = filepath.Join(name, "LazyFS")
} }

View File

@ -37,7 +37,7 @@ var (
LowTraffic = Profile{ LowTraffic = Profile{
Name: "LowTraffic", Name: "LowTraffic",
MinimalQPS: 80, MinimalQPS: 100,
MaximalQPS: 200, MaximalQPS: 200,
ClientCount: 8, ClientCount: 8,
MaxNonUniqueRequestConcurrency: 3, MaxNonUniqueRequestConcurrency: 3,