generated from eclipse-score/module_template
-
Notifications
You must be signed in to change notification settings - Fork 2
Labels
bugSomething isn't workingSomething isn't working
Description
Original report: https://github.com/qorix-group/inc_orchestrator_internal/issues/327
Describe the bug:
TTL is 8-bit value, but ttl and set_ttl from Rust's std work with u32.
Values in <256;u32::MAX) range cause invalid argument error, but u32::MAX causes TTL to be set to default value (64 for Linux).
Steps to reproduce the behavior:
- Checkout to
arkjedrz_tcp-listener-tests. cd component_integration_tests/python_test_cases/- Comment out
pytest.xfailfromTestTTL_Invalid::ttlintest_tcp_listener.pyandtest_tcp_stream.pyfiles. pytest --build-scenarios -k "tcp and TTL_Invalid"
Observed behavior:
TTL is set to default on u32::MAX provided.
Expected behavior
set_ttl returns invalid argument error on u32::MAX provided.
Occurrence:
Always.
Attachments / Logs:
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done