Commit graph

169 commits

Author SHA1 Message Date
Paul Kronenwetter
4b37ea4d67 Adapt TNC States test to use the session ID 2022-10-21 14:56:25 -04:00
Paul Kronenwetter
cd00eaa851 Restore Python 3.6 compatibility 2022-07-04 17:18:10 -04:00
Paul Kronenwetter
361a67b67f Remove unused imports 2022-07-03 13:41:34 -04:00
Paul Kronenwetter
305daca626 Test to validate processing of STOP frames. 2022-06-24 13:07:34 -04:00
Paul Kronenwetter
1deed67bfb
Merge pull request #219 from DJ2LS/issue_218_fix_with_test
Issue 218 fix with test
2022-06-20 20:02:14 -04:00
Paul Kronenwetter
9cb2cebddd Merge remote-tracking branch 'origin/main' into issue_205_ping_no_call 2022-06-19 17:11:21 -04:00
Paul Kronenwetter
baa9ece4ad Add test case to detect in the future 2022-06-19 16:45:31 -04:00
Paul Kronenwetter
e0d4117518 Re-add authorship tags. 2022-06-19 10:04:46 -04:00
Paul Kronenwetter
56695039b3 Add documentation to tests and utilities. 2022-06-19 09:55:50 -04:00
Paul Kronenwetter
1db20048fb Remove redundant test. 2022-06-19 09:39:32 -04:00
Paul Kronenwetter
1e054c8343 Properly flag low/high bandwidth mode in chat test 2022-06-19 08:38:22 -04:00
Paul Kronenwetter
292754af2d Initial cut of fix for issue #206. 2022-06-17 19:48:47 -04:00
Paul Kronenwetter
ca1b079e4a Remove commented code. 2022-06-17 16:15:09 -04:00
Paul Kronenwetter
fc1b838e8d Improve tests slightly.
Change parameterization method, more retries for CQ.
Fix pingtest criteria.
Adjust CQ test criteria.
2022-06-17 15:45:52 -04:00
Paul Kronenwetter
73688299fd Pass station number in tnc setup for logging 2022-06-17 07:41:52 -04:00
Paul Kronenwetter
845e08182f Reinstate flaky reruns. 2022-06-16 21:21:51 -04:00
Paul Kronenwetter
f037f347fb Add framework for "connect" test. 2022-06-16 21:10:36 -04:00
Paul Kronenwetter
d30a8863b6 Remove init causing problems. 2022-06-16 18:43:43 -04:00
Paul Kronenwetter
afede05732 Do a better job using environment variables. 2022-06-16 18:35:49 -04:00
Paul Kronenwetter
94df494041 Repair chat_text test 2022-06-15 21:12:21 -04:00
Paul Kronenwetter
c08d84ad90 Remove commented code 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
55b1f8c2cb Update legacy TNC test 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
34cb6e2cb6 Replace some tests with unified test. 2022-06-15 19:42:16 -04:00
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