From 006aabe03544d5bba1edb308f5d530257603add0 Mon Sep 17 00:00:00 2001 From: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com> Date: Tue, 7 Jan 2020 16:47:41 -0500 Subject: [PATCH] Give 30% margin for perf test limits (#90) 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: https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/89 --- testbed/tests/trace_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testbed/tests/trace_test.go b/testbed/tests/trace_test.go index 403765678330..9bd9c34ffd12 100644 --- a/testbed/tests/trace_test.go +++ b/testbed/tests/trace_test.go @@ -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, }, }, @@ -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, }, },