The GitHub Actions job "Pull Requests" on 
pekko.git/dns-clear-inflight-on-failure has failed.
Run started by GitHub user pjfanning (triggered by pjfanning).

Head commit for run:
a6f7dae16b9d372decfe5bc988eb31cb58e15e86 / PJ Fanning 
<[email protected]>
test: cover clearing of failed in-flight DNS requests so they can be retried

Motivation:
akka/akka-core#32114 fixed AsyncDnsResolver leaving failed resolutions in
its in-flight map, which blocked retries of the same name. Pekko's
resolver already clears the in-flight entry on failure, but there was no
regression test for it.

Modification:
Add an AsyncDnsResolverSpec case where two senders resolve the same name,
the DNS client fails, both senders receive the failure, and a subsequent
resolve from both senders is sent to the client again and succeeds.

Result:
The retry-after-failure behaviour of AsyncDnsResolver is covered by a test.

Tests:
- sbt "actor-tests/testOnly 
org.apache.pekko.io.dns.internal.AsyncDnsResolverSpec" (22 passed, run 3 times)
- native scalafmt run on the changed file

References:
None - port of the test from akka/akka-core#32114

Report URL: https://github.com/apache/pekko/actions/runs/35612102471

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to