diff --git a/test/sanity/resources/verifyUnixCtlScript.sh b/test/sanity/resources/verifyUnixCtlScript.sh index c19ba0a06..44fc3d212 100755 --- a/test/sanity/resources/verifyUnixCtlScript.sh +++ b/test/sanity/resources/verifyUnixCtlScript.sh @@ -4,6 +4,7 @@ # SPDX-License-Identifier: MIT assertStatus() { + sleep 3 keyToCheck="${1:-}" expectedVal="${2:-}" @@ -81,4 +82,4 @@ step=9 /usr/bin/amazon-cloudwatch-agent-ctl -a remove-config -c all /usr/bin/amazon-cloudwatch-agent-ctl -a stop assertStatus "cwa_running_status" "stopped" -assertStatus "cwa_config_status" "not configured" \ No newline at end of file +assertStatus "cwa_config_status" "not configured"