Skip to content

Commit

Permalink
Bump loadtest limits to avoid CI failures (#6134)
Browse files Browse the repository at this point in the history
  • Loading branch information
tigrannajaryan authored Nov 4, 2021
1 parent f7e2459 commit b552c13
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions testbed/tests/log_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func TestLog10kDPS(t *testing.T) {
receiver: testbed.NewOTLPDataReceiver(testbed.GetAvailablePort(t)),
resourceSpec: testbed.ResourceSpec{
ExpectedMaxCPU: 30,
ExpectedMaxRAM: 86,
ExpectedMaxRAM: 98,
},
},
{
Expand All @@ -49,7 +49,7 @@ func TestLog10kDPS(t *testing.T) {
receiver: testbed.NewOTLPHTTPDataReceiver(testbed.GetAvailablePort(t)),
resourceSpec: testbed.ResourceSpec{
ExpectedMaxCPU: 30,
ExpectedMaxRAM: 85,
ExpectedMaxRAM: 90,
},
},
{
Expand All @@ -58,7 +58,7 @@ func TestLog10kDPS(t *testing.T) {
receiver: testbed.NewOTLPDataReceiver(testbed.GetAvailablePort(t)),
resourceSpec: testbed.ResourceSpec{
ExpectedMaxCPU: 30,
ExpectedMaxRAM: 86,
ExpectedMaxRAM: 100,
},
},
{
Expand All @@ -67,7 +67,7 @@ func TestLog10kDPS(t *testing.T) {
receiver: testbed.NewOTLPDataReceiver(testbed.GetAvailablePort(t)),
resourceSpec: testbed.ResourceSpec{
ExpectedMaxCPU: 30,
ExpectedMaxRAM: 86,
ExpectedMaxRAM: 100,
},
extensions: datasenders.NewLocalFileStorageExtension(),
},
Expand Down
10 changes: 5 additions & 5 deletions testbed/tests/metric_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func TestMetric10kDPS(t *testing.T) {
datareceivers.NewOCDataReceiver(testbed.GetAvailablePort(t)),
testbed.ResourceSpec{
ExpectedMaxCPU: 85,
ExpectedMaxRAM: 86,
ExpectedMaxRAM: 100,
},
},
{
Expand All @@ -62,7 +62,7 @@ func TestMetric10kDPS(t *testing.T) {
testbed.NewOTLPDataReceiver(testbed.GetAvailablePort(t)),
testbed.ResourceSpec{
ExpectedMaxCPU: 50,
ExpectedMaxRAM: 85,
ExpectedMaxRAM: 98,
},
},
{
Expand All @@ -71,7 +71,7 @@ func TestMetric10kDPS(t *testing.T) {
testbed.NewOTLPHTTPDataReceiver(testbed.GetAvailablePort(t)),
testbed.ResourceSpec{
ExpectedMaxCPU: 50,
ExpectedMaxRAM: 85,
ExpectedMaxRAM: 92,
},
},
{
Expand All @@ -80,7 +80,7 @@ func TestMetric10kDPS(t *testing.T) {
datareceivers.NewSFxMetricsDataReceiver(testbed.GetAvailablePort(t)),
testbed.ResourceSpec{
ExpectedMaxCPU: 120,
ExpectedMaxRAM: 95,
ExpectedMaxRAM: 98,
},
},
}
Expand Down Expand Up @@ -136,7 +136,7 @@ func TestMetricsFromFile(t *testing.T) {
agentProc,
&testbed.PerfTestValidator{},
performanceResultsSummary,
testbed.WithResourceLimits(testbed.ResourceSpec{ExpectedMaxCPU: 120, ExpectedMaxRAM: 85}),
testbed.WithResourceLimits(testbed.ResourceSpec{ExpectedMaxCPU: 120, ExpectedMaxRAM: 94}),
)
defer tc.Stop()

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 @@ -236,7 +236,7 @@ func TestTraceBallast1kSPSWithAttrs(t *testing.T) {
{
attrCount: 0,
attrSizeByte: 0,
expectedMaxCPU: 30,
expectedMaxCPU: 53,
expectedMaxRAM: 2200,
resultsSummary: performanceResultsSummary,
},
Expand Down

0 comments on commit b552c13

Please sign in to comment.