-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(edgesec): test ap server thread failures
Add a test that tests whether the AP server thread fails correctly. Previously, our test code wasn't correctly failing on errors. This should also help fix flakey code-coverage results in `test_edgesec.c`, see #435. This test is pretty slow, as we need to wait 10 seconds for `writeread_domain_data_str()` to timeout. In the future, we should find a way to speed up this test (maybe by using a different function to send data to the AP server socket). Fixes: #435
- Loading branch information
1 parent
199b8cf
commit 8f63f7a
Showing
2 changed files
with
50 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters