From be87080da0dbd45bd2103bf027f49ea9403c99f0 Mon Sep 17 00:00:00 2001 From: Dmitrii Anoshin Date: Mon, 6 Jul 2020 17:15:31 -0700 Subject: [PATCH] Increase CPU limits for some stability tests (#398) Bump CPU limits for SAPM traces and OC metrics stability tests to align with the unstable CircleCI environment and avoid sporadic stability tests failures like these: https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/369 , https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/354 --- testbed/stabilitytests/metric_test.go | 2 +- testbed/stabilitytests/trace_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/testbed/stabilitytests/metric_test.go b/testbed/stabilitytests/metric_test.go index 4043afc74709..1d90e791e831 100644 --- a/testbed/stabilitytests/metric_test.go +++ b/testbed/stabilitytests/metric_test.go @@ -45,7 +45,7 @@ func TestStabilityMetricsOpenCensus(t *testing.T) { testbed.NewOCMetricDataSender(testbed.DefaultHost, testbed.GetAvailablePort(t)), testbed.NewOCDataReceiver(testbed.GetAvailablePort(t)), testbed.ResourceSpec{ - ExpectedMaxCPU: 45, + ExpectedMaxCPU: 50, ExpectedMaxRAM: 86, ResourceCheckPeriod: resourceCheckPeriod, }, diff --git a/testbed/stabilitytests/trace_test.go b/testbed/stabilitytests/trace_test.go index fc65987b3ca7..703bbd21c4ff 100644 --- a/testbed/stabilitytests/trace_test.go +++ b/testbed/stabilitytests/trace_test.go @@ -68,7 +68,7 @@ func TestStabilityTracesSAPM(t *testing.T) { datasenders.NewSapmDataSender(testbed.GetAvailablePort(t)), datareceivers.NewSapmDataReceiver(testbed.GetAvailablePort(t)), testbed.ResourceSpec{ - ExpectedMaxCPU: 24, + ExpectedMaxCPU: 28, ExpectedMaxRAM: 100, ResourceCheckPeriod: resourceCheckPeriod, },