From 00e3dfc7373860263497b7bc5dd100f5462ad532 Mon Sep 17 00:00:00 2001 From: Valina Li Date: Wed, 20 Sep 2023 17:14:37 -0700 Subject: [PATCH] fix: add fuzzing core-data make target Signed-off-by: Valina Li --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 295073776b..7f19b31916 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ # SPDX-License-Identifier: Apache-2.0 # -.PHONY: build clean unittest hadolint lint test docker run sbom docker-fuzz fuzz-test-command +.PHONY: build clean unittest hadolint lint test docker run sbom docker-fuzz fuzz-test-command fuzz-test-data # change the following boolean flag to include or exclude the delayed start libs for builds for most of core services except support services INCLUDE_DELAYED_START_BUILD_CORE:="false" @@ -373,4 +373,8 @@ docker-fuzz: fuzz-test-command: # not joining the edgex-network due to swagger file url pointing to localhost for fuzz testing in the container - docker run --net host --rm -v "$$PWD/fuzz_test/fuzz_results:/fuzz_results" fuzz-edgex-go:latest core-command /restler-fuzzer/openapi/core-command.yaml \ No newline at end of file + docker run --net host --rm -v "$$PWD/fuzz_test/fuzz_results:/fuzz_results" fuzz-edgex-go:latest core-command /restler-fuzzer/openapi/core-command.yaml + +fuzz-test-data: +# not joining the edgex-network due to swagger file url pointing to localhost for fuzz testing in the container + docker run --net host --rm -v "$$PWD/fuzz_test/fuzz_results:/fuzz_results" fuzz-edgex-go:latest core-data /restler-fuzzer/openapi/core-data.yaml \ No newline at end of file