Closed Aidan63 closed 4 months ago
@Aidan63 Note, testLocalHost()
doesn't get run because it has to be called explicitly in the main()
method in test/std/Test.hx
. Was it omitted intentionally?
Ah, no, that was an oversight on my part then. Must have assumed it was a utest project so any function starting with test
would be auto ran. I'll get a fix for it this evening.
The Mac CI has been failing for quite some time now due to a host address resolution test which tries to resolve the localhost. Resolving localhost addresses on mac runners on github actions and azure pipelines has been broken for the last year or so.
https://github.com/actions/runner-images/issues/8649
To work around this I've split up the tests. Using
Host.localhost
for testing if we can get the localhost address, andnew Host("github.com")
to test if we can resolve an address. Github should be a pretty safe url to test against.With this hopefully the CI will be consistently green again!