Open mtojek opened 3 years ago
We should probably have the test runner pessimistically remove the network at the start of the run before it recreates it.
It depends whether or not there are live containers assigned. I don't expect the service network to be manually tweaked, but if developer decides to temporarily change its settings, recreating will block such experiments.
Hmm, fair point. Agreed to just check for existence and not create the network if it already exists.
I think this issue isn't valid anymore in standard workflow, so I guess we can close it.
Still an issue for me v0.77.0
@CallumDowling do you have reproduction steps?
@CallumDowling do you have reproduction steps?
@jsoriano I fixed it by;
Not sure which one of 2/3 fixed it, now I can't reproduce - sorry. Similar things have happened in the past where docker system prune -a worked. elastic-package might need more checks / cleaning up old resources like @ycombinator comment, maybe a flag?
Ok, I will reopen this issue, to make elastic-package more resilient to spurious network resources from previous executions.
While investigating issues locally it's annoying to remove the service network, because it blocks next tests from execution: