Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Commit 512338c

Browse files
committed
Change text exuection
Note: expected to fail
1 parent d790a08 commit 512338c

File tree

3 files changed

+3
-16
lines changed

3 files changed

+3
-16
lines changed

.github/workflows/kuksa_databroker_build.yml

+1-14
Original file line numberDiff line numberDiff line change
@@ -78,26 +78,13 @@ jobs:
7878
crate: cargo-strip
7979
version: latest
8080

81-
- uses: actions-rs/install@v0.1
82-
with:
83-
crate: cargo2junit
84-
version: latest
85-
8681
- name: Show toolchain information
8782
working-directory: ${{github.workspace}}
8883
run: |
8984
rustup toolchain list
9085
cargo --version
9186
92-
- name: Run Tests
93-
working-directory: ${{github.workspace}}
94-
run: |
95-
cargo test --all-targets | tee results.txt
96-
# First ignore all lined with "0 failed", if failed occurs anywhere else we expect there to be an error
97-
grep -v "0 failed" results.txt | grep -cv failed
98-
99-
100-
- name: Run code coverage
87+
- name: Run tests and report code coverage
10188
run: |
10289
cargo tarpaulin -o Xml
10390

kuksa_databroker/databroker/tests/current_values.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,6 @@ async fn main() {
180180
}
181181
Box::pin(future::ready(()))
182182
})
183-
.run("tests/features/current_values.feature")
183+
.run_and_exit("tests/features/current_values.feature")
184184
.await;
185185
}

kuksa_databroker/databroker/tests/features/current_values.feature

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Feature: Writing and reading the current value of a VSS Data Entry
3535
| Vehicle.TraveledDistanceHighRes | uint64 | 23425462462563924 |
3636
| Vehicle.CurrentLocation.Longitude | double | 145.023544 |
3737
| Vehicle.Speed | float | 45.5 |
38-
| Vehicle.IsMoving | bool | true |
38+
| Vehicle.IsMogving | bool | true |
3939

4040
Scenario Outline: Setting current value of wrong type fails
4141
When a client sets the current value of <path> of type <type> to <value>

0 commit comments

Comments
 (0)