From 9f652eaf64a1c23582bf1991c7f2d42780f0f450 Mon Sep 17 00:00:00 2001 From: Derek Brown Date: Wed, 22 Nov 2023 09:58:02 -0800 Subject: [PATCH] remove some of the sleeps --- .../rspec_datadog/win-agent-with-cws-option_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/kitchen/test/integration/win-agent-with-cws-option/rspec_datadog/win-agent-with-cws-option_spec.rb b/test/kitchen/test/integration/win-agent-with-cws-option/rspec_datadog/win-agent-with-cws-option_spec.rb index 61549164daa716..bbbfb40474f8a7 100644 --- a/test/kitchen/test/integration/win-agent-with-cws-option/rspec_datadog/win-agent-with-cws-option_spec.rb +++ b/test/kitchen/test/integration/win-agent-with-cws-option/rspec_datadog/win-agent-with-cws-option_spec.rb @@ -106,7 +106,7 @@ expect(is_service_running?("datadog-security-agent")).to be_falsey #restart "datadog-agent" stop "datadog-agent" - sleep 10 + start "datadog-agent" sleep 30 expect(is_service_running?("datadogagent")).to be_truthy @@ -115,7 +115,7 @@ stop "datadog-agent" - sleep 30 + expect(is_service_running?("datadogagent")).to be_falsey expect(is_service_running?("datadog-system-probe")).to be_falsey expect(is_service_running?("datadog-security-agent")).to be_falsey