From f0a6d0d9323f4d153f8e18337c77a28d487f8d31 Mon Sep 17 00:00:00 2001 From: jayfranco999 Date: Tue, 3 Sep 2024 16:11:31 +0530 Subject: [PATCH] fixup Signed-off-by: jayfranco999 --- tests/goss-common.yaml | 4 ++++ tests/goss-linux.yaml | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/goss-common.yaml b/tests/goss-common.yaml index edb2041e9..490b9860d 100644 --- a/tests/goss-common.yaml +++ b/tests/goss-common.yaml @@ -27,6 +27,10 @@ command: docker_buildx: exec: docker buildx version exit-status: 0 + default_java: + exec: java --version + exit-status: + not: 0 docker_compose: exec: docker-compose -v exit-status: 0 diff --git a/tests/goss-linux.yaml b/tests/goss-linux.yaml index 4e08ac6fc..9f54601b5 100644 --- a/tests/goss-linux.yaml +++ b/tests/goss-linux.yaml @@ -17,9 +17,6 @@ command: datadog-agent: exec: datadog-agent version exit-status: 0 - default_java: - exec: java --version - exit-status: 0 doctl: exec: doctl version exit-status: 0