Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPATPlugin: Unit test failure #566

Open
dan-du-car opened this issue Nov 20, 2023 · 0 comments
Open

SPATPlugin: Unit test failure #566

dan-du-car opened this issue Nov 20, 2023 · 0 comments
Labels
anomaly bug Something isn't working

Comments

@dan-du-car
Copy link
Collaborator

Summary

The intersection maneuver list count result in the unit test is not consistent:

EXPECT_EQ(spatPtr->intersections.list.array[0]->maneuverAssistList->list.count, 1);

spatPtr->intersections.list.array[0]->maneuverAssistList->list.count

The count value can be 1 or 2 during different unit test runs. Sonar scan runs test sometimes failure due to below error:
https://github.com/usdot-fhwa-OPS/V2X-Hub/actions/runs/6895436333/job/18759375988

Version

4.3.0 (Current)

Expected Behavior

Unit test result should be consistent.

Actual Behavior

Unit test generates inconsistent values in different runs.

Steps to Reproduce the Actual Behavior

Build TMX
Build v2ihub
run SPATPlugin unit test

Related Work

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
anomaly bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant