Commit graph

4782 commits

Author SHA1 Message Date
Paul Kronenwetter
9ace3a2491 Work toward unifying the end-to-end tests. 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
0c243878ea Add test for CQ 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
e289d6e17b Add test for beacon 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
1ff6f95045 Reduce number of burst retries. 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
e5f2f18798 Reduce variations to decrease test time. 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
171b3b6b0a Convert test to use sock.SOCKET_QUEUE.
Makes this consistent with other tests.
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
97244edeb5 Add timeout to highsnr_stdio tests. 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
7a3259eee2 Use pytest's tmp_dir fixture
Used for log file and FIFO files.
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
f2f9fce6a4 Remove unused parameterizations.
Add retries.
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
74abeec08d Decrease number of frame retries.
Attempt to shorten the time failed tests take to end.
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
84e74d31e2 Use a better way to exit the infinite while loop. 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
ab772d1f70 Correct import fix. 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
fa84850de2 Rename to chat text. 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
a11c377a31 Minor updates 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
a13a2c0534 Clean up code and output. 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
e183f9a419 Adjust checks to use SOCKET_QUEUE. 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
1fcd7dbdec Correct status check. 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
d258fa74b3 Update checks for successful transmission. 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
bd563012fa Adapt test to use SOCKET_QUEUE rather than static.INFO. 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
a9e60cd7bc Revert add priming packet to FIFO.
This didn't work as intended.
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
1cec49bf77 Add priming packet to FIFO.
This forces the originating TNC to be out-of-sync when receiving frames.
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
04948552d0 Clean up imports. 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
3bd4b4cb75 Remove first packet send.
Fix missed status enum reference.
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
f0d327e98e Adjust timeouts. 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
448777af86 Add another rerun on test failure. 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
80784d7114 Ignore type "errors." 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
ea356f963a Help CPU load in while loop.
Tried 0.05 but it caused test failures.
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
1071ef58e1 Remove dependence on static FRAME_TYPE enum. 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
2481102fa2 Increase timeout for slower test machines. 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
b618fe6c89 Fix minor import problem. 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
79a1ba2302 Short and long data transfer test.
These appear to work reasonably well with an
occasional transient failure.
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
0ff2b69895 Adjust for setup_logging enhancement. 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
59dbf4174d Work toward a usable test. 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
b3e0d1de1b Refactor tnc_states test.
This will avoid cross-test interference this test has caused.
2022-06-15 19:42:16 -04:00
Paul Kronenwetter
55fc2d2263 Adjustments to WIP utilities. 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
d478724558 Reduce number of retries. 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
e079c49729 Correct internal test order dependency. 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
af355244a1 Use pytest-rerunfailures instead of re-inventing it. 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
9d268b99ad Add change to test directory for high SNR python tests. 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
c15b11fe7b Fix tests and tnc after merge. 2022-06-15 19:42:12 -04:00
Paul Kronenwetter
1f8106258d Adding bandwidth switch for arq test. 2022-06-15 19:40:14 -04:00
Paul Kronenwetter
a6d1f89687 Restore accidentally deleted code. 2022-06-15 19:40:14 -04:00
Paul Kronenwetter
f695e6e2af Collapse repeated code to a function.
Add function parameter and return types.
Move logging to a class variable.
Extended use of FREEDV_MODE enum.
Moved TESTING check to arq_cleanup.
2022-06-15 19:40:14 -04:00
Paul Kronenwetter
2d5ebd5846 Minor reworking of the source Pythonness. 2022-06-15 19:40:14 -04:00
Paul Kronenwetter
b89be14319 Initial implementation. 2022-06-15 19:40:14 -04:00
Paul Kronenwetter
3a8cc57a72 Update for consistency with other tests. 2022-06-15 19:40:14 -04:00
Paul Kronenwetter
ba4bc03a87 Renaming test utilities as util_.
Removed test_arq_short from the list while it's being rewritten.
2022-06-15 19:40:14 -04:00
Paul Kronenwetter
f0f7c94058 Pin codec2 revision to master.
This should be a specific release, that implements freedv_set_tuning_range.
2022-06-15 19:40:14 -04:00
Paul Kronenwetter
dbeea31f9d Correcting git mistake. 2022-06-15 19:40:14 -04:00
Paul Kronenwetter
f742a8a435 Pin codec2 revision to v1.0.3. 2022-06-15 19:40:14 -04:00