Commit graph

3260 commits

Author SHA1 Message Date
Paul Kronenwetter
50c53d4c0e
Merge pull request #214 from DJ2LS/tests_N2KIQ_202206
Tests 2022-Jun
2022-06-19 17:10:14 -04:00
Paul Kronenwetter
baa9ece4ad Add test case to detect in the future 2022-06-19 16:45:31 -04:00
Paul Kronenwetter
71bc562189 Fix for issue #218. 2022-06-19 16:45:06 -04:00
Paul Kronenwetter
e190ac3569 Merge remote-tracking branch 'origin/main' into tests_N2KIQ_202206 2022-06-19 10:09:13 -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
4a8f9ce6d0 Correct merge omission 2022-06-19 08:47:56 -04:00
Paul Kronenwetter
bc9e8849ac Remove unused miniaudio install 2022-06-19 08:42:20 -04:00
Paul Kronenwetter
1e054c8343 Properly flag low/high bandwidth mode in chat test 2022-06-19 08:38:22 -04:00
Paul Kronenwetter
8a5eea4dd5
Make log_handler a little more flexible. (#215) 2022-06-19 12:33:37 +00:00
Paul Kronenwetter
8242f61309
Add FRAME_TYPE enum to static (#216)
* Add FRAME_TYPE enum to static

* Add SESSION_ to three values.
2022-06-19 12:33:10 +00: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
f1b4f33eed Merge branch 'main' into tests_N2KIQ_202206 2022-06-17 06:45:03 -04:00
DJ2LS
7ea176a35b
Merge pull request #208 from kronenpj/bugfix_issue_207 2022-06-17 09:19:25 +02: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
22270ecded Update cmake test configuration
Includes new tests.
2022-06-16 19:18:54 -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
b8ac18bc54
Merge branch 'main' into bugfix_issue_207 2022-06-15 20:06:31 -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