From 42f9e927ba45bdc1854d98fcb73990c9d94aca00 Mon Sep 17 00:00:00 2001 From: Victor Pellan Date: Tue, 12 Nov 2024 17:44:53 +0100 Subject: [PATCH] Add sample json, and add empty hash in json to make it valid --- .github/forced-tests-list.json | 3 +++ .github/forced-tests-list.json.sample | 11 +++++++++++ docs/ForcingSystemTests.md | 8 ++++++-- 3 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 .github/forced-tests-list.json.sample diff --git a/.github/forced-tests-list.json b/.github/forced-tests-list.json index e69de29bb2d..077404aaa41 100644 --- a/.github/forced-tests-list.json +++ b/.github/forced-tests-list.json @@ -0,0 +1,3 @@ +{ + +} \ No newline at end of file diff --git a/.github/forced-tests-list.json.sample b/.github/forced-tests-list.json.sample new file mode 100644 index 00000000000..505da3d0721 --- /dev/null +++ b/.github/forced-tests-list.json.sample @@ -0,0 +1,11 @@ +{ + "DEFAULT": + [ + "tests/appsec/waf/test_miscs.py::Test_CorrectOptionProcessing", + "tests/test_semantic_conventions.py::Test_Meta::test_meta_span_kind" + ], + "APPSEC_STANDALONE": + [ + "tests/appsec/test_asm_standalone.py" + ] +} \ No newline at end of file diff --git a/docs/ForcingSystemTests.md b/docs/ForcingSystemTests.md index 1bd636d024b..18c8b4d54df 100644 --- a/docs/ForcingSystemTests.md +++ b/docs/ForcingSystemTests.md @@ -22,7 +22,7 @@ To do so, you can complete the `.github/forced-tests-list.json` file by followin ## Example ```json - { +{ "DEFAULT": [ "tests/appsec/waf/test_miscs.py::Test_CorrectOptionProcessing", @@ -37,4 +37,8 @@ To do so, you can complete the `.github/forced-tests-list.json` file by followin ## Cleanup -You can leave other force-executed tests added by other developers and append yours to the .json file, there is a cleanup task in the release process. \ No newline at end of file +You can leave other force-executed tests added by other developers and append yours to the .json file, there is a cleanup task in the release process. + +## Reference + +System-tests documentation on [force-executing tests](https://github.com/DataDog/system-tests/blob/main/docs/execute/force-execute.md) \ No newline at end of file