Skip to content

Commit

Permalink
Give 30% margin for perf test limits (#90)
Browse files Browse the repository at this point in the history
Perf tests are running on uncontrolled CI environment. We need some margin
to ensure they pass.

TODO: have a better solution with more controlled env for perf tests:
#89
  • Loading branch information
tigrannajaryan authored Jan 7, 2020
1 parent 3faee11 commit 006aabe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testbed/tests/trace_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func TestTrace10kSPS(t *testing.T) {
testbed.NewOCTraceDataSender(testbed.GetAvailablePort(t)),
testbed.NewOCDataReceiver(testbed.GetAvailablePort(t)),
testbed.ResourceSpec{
ExpectedMaxCPU: 35,
ExpectedMaxCPU: 40,
ExpectedMaxRAM: 71,
},
},
Expand All @@ -50,7 +50,7 @@ func TestTrace10kSPS(t *testing.T) {
NewSapmDataSender(testbed.GetAvailablePort(t)),
NewSapmDataReceiver(testbed.GetAvailablePort(t)),
testbed.ResourceSpec{
ExpectedMaxCPU: 67,
ExpectedMaxCPU: 71,
ExpectedMaxRAM: 105,
},
},
Expand Down

0 comments on commit 006aabe

Please sign in to comment.