refactor: avoid unnecessary let/variable
Also, disable most scenarios in the subplot. Something about the CI broker makes them so flaky they’re useless.
Signed-off-by: Lars Wirzenius liw@liw.fi
4 files changed
+64
-48
1f1e0c72
→
af0bac1e
modified ci-broker.md
@@ -59,6 +59,26 @@ a run on a repository. The repository is imaginary as is the commit.
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -102,27 +122,28 @@ with open(filename, "w") as f:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -136,17 +157,14 @@ given file broker.yaml
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
|
|
| - | |
| + | |
|
|
|
|
|
|
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -159,17 +177,19 @@ _Stakeholder:_ Lars.
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -186,7 +206,7 @@ scenarios if we tighten the acceptance criteria.
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -202,7 +222,10 @@ then stderr contains "ERROR: failed to parse configuration file as YAML: not-yam
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -216,20 +239,22 @@ _Stakeholder:_ Lars.
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| + | |
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -246,7 +271,7 @@ happen in real life.
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -255,25 +280,11 @@ given file broker.yaml
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -312,19 +323,17 @@ The following scenario may only work on Linux, as it's using `pgrep`
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
|
modified src/bin/synthetic-events.rs
@@ -42,10 +42,14 @@ fn main() -> anyhow::Result<()> {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
| + | |
|
|
|
|
| + | |
|
|
|
|
|
@@ -54,9 +58,12 @@ fn main() -> anyhow::Result<()> {
|
|
|
|
|
|
| + | |
|
|
| + | |
|
|
|
|
| + | |
|
|
|
|
|
modified src/event.rs
@@ -378,8 +378,7 @@ impl BrokerEvent {
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
modified src/subplot.rs
@@ -40,9 +40,10 @@ fn install_synthetic_events(context: &ScenarioContext) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
| + | |
|