You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although it seems like sometimes JUJU_REMOTE_APP is not set in relation-broken, the conclusion in the Juju investigation was that this should not happen, and it couldn't be reproduced.
… relation-broken (#1130)
As far as the Juju team and I have been able to tell (see [comments in the Juju issue](https://bugs.launchpad.net/juju/+bug/1960934)) `JUJU_REMOTE_APP` is always set in relation-broken events.
This PR removes the `Harness` behaviour that simulates `JUJU_REMOTE_APP` *not* being available (which was never consistently the case anyway) and the model code that blocks getting remote data during relation-broken (which is discouraged in the case where the entire integration is going away, but is permitted).
Fixes#1128.
Although it seems like sometimes JUJU_REMOTE_APP is not set in relation-broken, the conclusion in the Juju investigation was that this should not happen, and it couldn't be reproduced.
We should remove the special-casing in Harness that acts as if this is the case.
The text was updated successfully, but these errors were encountered: