Skip to content

Commit

Permalink
Add sample json, and add empty hash in json to make it valid
Browse files Browse the repository at this point in the history
  • Loading branch information
vpellan committed Nov 13, 2024
1 parent e20ff40 commit 42f9e92
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/forced-tests-list.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{

}
11 changes: 11 additions & 0 deletions .github/forced-tests-list.json.sample
Original file line number Diff line number Diff line change
@@ -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"
]
}
8 changes: 6 additions & 2 deletions docs/ForcingSystemTests.md
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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.
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)

0 comments on commit 42f9e92

Please sign in to comment.