api: fix intermittent test failure
api: fix intermittent test failure

TestWithUnresolvableAddrAfterCacheFallback fails intermittently,
becuase the order in which API connection attempts are made by
the parallel.Try is non-deterministic, and the final error is
always reported.

Instead of checking the error message, just record a boolean
that indicates whether or not we attempted to dial the "real"
address.

mjs/juju,mjs/juju,mjs/juju,mjs/juju,mjs/juju,mjs/juju,mjs/juju