-
Notifications
You must be signed in to change notification settings - Fork 28
Description
Describe the bug
During the cleanup step of scenarios, delete flight plan is executed for all the flight plans in the scenario. Some scenarios like Validation of operational intents have flight plans that do not get planned, as expected. When deletion of such unplanned flight plans is triggered, some USSes respond with 404 response code (Note - Mock USS responds with 200). As per automated testing interface, 404 response code does not need a response body. But in the uss_qualifier tests the client_v1 checks for a response body for a 404 response as well, which is not consistent with the interface spec.
To reproduce
Steps to reproduce the behavior:
- Go to https://interuss.github.io/monitoring/artifacts/uss_qualifier/reports/utm_implementation_us/sequence/s39.html
- Click on events 51, 53 and 55.
- Unplanned flight plans are deleted
- Mock USS gives a 200 response, but some USSes give 404 in response. And when the 404 response is with out a body, they fail the cleanup step.
Difference from expected behavior
A 404 response without a response body, on deletion of unplanned flight plan should not fail the cleanup step in a test.
Possible solution
Do not check response body for a 404 response on deletion of unplanned flight plans.
System on which behavior was encountered
OS: iOS
Codebase information
Output of git log -n 1: Exists in current codebase.
commit 707dd8f
Output of git status:
NA