steffenfritz / mxcheck

mxcheck is an info and security scanner for e-mail servers.
https://mxcheck.fritz.wtf
GNU General Public License v3.0
60 stars 8 forks source link

Some tests fail in CI/CD due to GH Action limitations #43

Closed steffenfritz closed 3 months ago

steffenfritz commented 3 months ago

Describe the bug Two tests cannot be run from Github's Actions due to network connection limitations.

=== RUN Test_openRelay/Open_Relay_Test openrelay_test.go:29: openRelay() error = 451 Temporary failure, please try again later., wantErr false --- FAIL: Test_openRelay (22.30s) --- FAIL: Test_openRelay/Open_Relay_Test (22.30s)

=== RUN Test_tlsCheck/TLS_check tlscheck_test.go:24: tlsCheck() error = error connecting to TCP port, wantErr false --- FAIL: Test_tlsCheck (134.22s) --- FAIL: Test_tlsCheck/TLS_check (134.22s)

To Reproduce Run CI/CD tests.

As this cannot be fixed, both tests will be removed from the CI/CD but will be done in another test environment.