-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Speed up engine integration tests (#1897)
## 馃専 What is the purpose of this PR? The engine tests has to be run from time to time and this usually slows down our current CI by a lot. This PR reduces the amount of tests running on the engine. ## 馃敆 Related links <!-- Add links to any context it is worth capturing (e.g. Issues, Discussions, Discord, Asana) --> <!-- Mark any links which are not publicly accessible as _(internal)_ --> <!-- Don't rely on links to explain the PR, especially internal ones: use the sections above --> - [Asana task](https://app.asana.com/0/1203543021352041/1203767287750359/f) _(internal)_ ## 馃攳 What does this change? - Set the step count to `10` for integration tests - Don't run the engine in `production` - Use `cargo-nextest` instead of `cargo test`
- Loading branch information
1 parent
f675a41
commit 6e73a1e
Showing
7 changed files
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,6 @@ | |
"type": "values", | ||
"field": "", | ||
"values": [1], | ||
"steps": 100 | ||
"steps": 10 | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
apps/engine/tests/examples/rumor_mill_public_health_practices/experiments.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
apps/engine/tests/examples/wholesale_warehouse1/integration-test.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[ | ||
{ | ||
"steps": 50, | ||
"steps": 10, | ||
"expected-output": {} | ||
} | ||
] |