Commit Graph

11 Commits

Author SHA1 Message Date
Louis Lam fcfa6b84d5 chore: fix random fail tests, make all external tests optional (#7678) 2026-08-04 23:13:31 +08:00
Frank Elsinga 0f61d7ee1b chore: enable formatting over the entire codebase in CI (#6655)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-09 02:10:36 +01:00
mkdev11 d88a9e81e2 test: add retry logic to flaky external service tests
External services like smtp.gmail.com and xmpp.earth can be unreliable
in CI environments. Added retry logic (up to 3 attempts) to prevent
false test failures due to network issues.
2026-01-06 20:31:44 +02:00
mkdev11 5ab3a68718 test: fix TLS alert tests to use unit tests instead of unreliable external servers
- Replace client.badssl.com tests with unit tests for parseTlsAlertNumber and getTlsAlertName
- Export helper functions for testing
- Keep one integration test for connection success scenario
2026-01-06 20:29:21 +02:00
mkdev11 2a050b7e95 test: add test cases for TLS alert checking functionality
- Test rejection when expecting TLS alert but connection succeeds
- Test UP status when expected TLS alert is received
- Test rejection when different TLS alert is received than expected
2026-01-06 20:29:21 +02:00
Frank Elsinga 11a2b8ed9b fix(ci): backoff all external TCP checks (#6613)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-06 17:43:54 +00:00
Frank Elsinga 068cb35022 retry check() sets status to UP for XMPP server with valid certificate (STARTTLS) 2026-01-06 06:41:37 +01:00
Frank Elsinga cf1e17f587 fix lint 2026-01-01 17:08:36 +01:00
Frank Elsinga f426e5819a reword more of our testsuite names 2026-01-01 17:01:32 +01:00
Frank Elsinga 9abded0baf fix imports 2026-01-01 16:34:05 +01:00
Frank Elsinga b91b73a4eb move monitoring tests to better folder 2026-01-01 16:27:37 +01:00