Commit graph

1449 commits

Author SHA1 Message Date
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
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