Skip to content

Commit

Permalink
[chore] increase resource limits for some load tests (#34074)
Browse files Browse the repository at this point in the history
**Description:** <Describe what has changed.>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
This PR increases some resource limits to make the load tests green for
now. Since they didn't run for 6 months, I assume some performance
degradation happened.
Example of a recent red load test run that just violated some resource
limits that will be fixed with this PR:
[link](https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/9931396770)

**Link to tracking Issue:** [discussion on
slack](https://cloud-native.slack.com/archives/C07CCCMRXBK/p1721035998865689)

**Testing:** load tests only run on main branch

**Documentation:** NA

Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com>
  • Loading branch information
mowies committed Jul 15, 2024
1 parent 6279b7e commit 62fa62f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion testbed/tests/metric_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func TestMetric10kDPS(t *testing.T) {
receiver: datareceivers.NewCarbonDataReceiver(testutil.GetAvailablePort(t)),
resourceSpec: testbed.ResourceSpec{
ExpectedMaxCPU: 237,
ExpectedMaxRAM: 100,
ExpectedMaxRAM: 105,
},
},
{
Expand Down
2 changes: 1 addition & 1 deletion testbed/tests/trace_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ func TestTraceNoBackend10kSPS(t *testing.T) {
t,
testbed.NewOTLPTraceDataSender(testbed.DefaultHost, testutil.GetAvailablePort(t)),
testbed.NewOTLPDataReceiver(testutil.GetAvailablePort(t)),
testbed.ResourceSpec{ExpectedMaxCPU: 80, ExpectedMaxRAM: testConf.ExpectedMaxRAM},
testbed.ResourceSpec{ExpectedMaxCPU: 90, ExpectedMaxRAM: testConf.ExpectedMaxRAM},
performanceResultsSummary,
testConf,
)
Expand Down

0 comments on commit 62fa62f

Please sign in to comment.