|
Revision tags: v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2, v22.03-rc1 |
|
| #
987d40a0 |
| 26-Jan-2022 |
Jie Zhou <[email protected]> |
test: remove POSIX-specific code
- Replace POSIX-specific code with DPDK equivalents or conditionally disable it on Windows - Use NUL on Windows as /dev/null for Unix - Exclude tests not supported
test: remove POSIX-specific code
- Replace POSIX-specific code with DPDK equivalents or conditionally disable it on Windows - Use NUL on Windows as /dev/null for Unix - Exclude tests not supported on Windows yet * multi-process * PMD performance statistics display on signal
Signed-off-by: Jie Zhou <[email protected]> Signed-off-by: Dmitry Kozlyuk <[email protected]> Acked-by: Tyler Retzlaff <[email protected]>
show more ...
|
|
Revision tags: v21.11, v21.11-rc4, v21.11-rc3, v21.11-rc2, v21.11-rc1 |
|
| #
d2671e64 |
| 14-Sep-2021 |
Radu Nicolau <[email protected]> |
telemetry: support dict of dicts
Add support for dicts of dicts to telemetry library. Increase the max string size to 128.
Signed-off-by: Declan Doherty <[email protected]> Signed-off-by: Ra
telemetry: support dict of dicts
Add support for dicts of dicts to telemetry library. Increase the max string size to 128.
Signed-off-by: Declan Doherty <[email protected]> Signed-off-by: Radu Nicolau <[email protected]> Acked-by: Ciara Power <[email protected]>
show more ...
|
|
Revision tags: v21.08, v21.08-rc4, v21.08-rc3, v21.08-rc2, v21.08-rc1, v21.05, v21.05-rc4, v21.05-rc3, v21.05-rc2, v21.05-rc1, v21.02, v21.02-rc4, v21.02-rc3, v21.02-rc2, v21.02-rc1, v20.11, v20.11-rc5, v20.11-rc4, v20.11-rc3, v20.11-rc2, v20.11-rc1 |
|
| #
89ce9f09 |
| 13-Oct-2020 |
Ciara Power <[email protected]> |
test/telemetry: fix socket resource leak
If an error occurred when reading from the socket, the function returned without closing the socket. This is now fixed to avoid the resource leak of the sock
test/telemetry: fix socket resource leak
If an error occurred when reading from the socket, the function returned without closing the socket. This is now fixed to avoid the resource leak of the sock variable going out of scope.
Coverity issue: 363043 Fixes: bd78cf693ebd ("test/telemetry: add unit tests for data to JSON")
Signed-off-by: Ciara Power <[email protected]> Acked-by: Kevin Laatz <[email protected]>
show more ...
|
| #
8b4a23f1 |
| 13-Oct-2020 |
Ciara Power <[email protected]> |
test/telemetry: fix error handling for socket
When the socket connection failed, an error was printed to screen but the function did not return an error, and continued to try read from the socket. T
test/telemetry: fix error handling for socket
When the socket connection failed, an error was printed to screen but the function did not return an error, and continued to try read from the socket. This is now corrected to close the socket and return -1 when the connection fails.
Fixes: bd78cf693ebd ("test/telemetry: add unit tests for data to JSON")
Signed-off-by: Ciara Power <[email protected]> Acked-by: Bruce Richardson <[email protected]>
show more ...
|
| #
bd78cf69 |
| 23-Sep-2020 |
Louise Kilheeney <[email protected]> |
test/telemetry: add unit tests for data to JSON
This patch adds tests for verifying telemetry data structures are converted to JSON as expected. Both flat and recursive data structures are tested, f
test/telemetry: add unit tests for data to JSON
This patch adds tests for verifying telemetry data structures are converted to JSON as expected. Both flat and recursive data structures are tested, for all possible value types.
The app connects to the telemetry socket as a client, and registers one command with a corresponding callback function. Each time the callback function is called, it copies a global data variable to the data pointer passed in by telemetry. When a test case is run, the test case function builds up the global data variable with the relevant data types, and the expected json string output which should be generated from that. The 'test_output()' function is used to trigger the callback and ensure the actual output matches that expected.
Signed-off-by: Louise Kilheeney <[email protected]> Signed-off-by: Ciara Power <[email protected]> Acked-by: Bruce Richardson <[email protected]>
show more ...
|