The Moby Project - a collaborative project for the container ecosystem to assemble container-based systems
![]() The CreateNetwork in the bridge driver was not able to properly handle concurrent operations causing 2 issues: 1) crash from nil pointer exception 2) not proper handling of conflicting configuration This commit addresses the 2 previous mentioned issues and adds a test for it. The test with the original code has a low failure frequency to confirm the fix I had to add a time.Sleep in the body of the CreateNetwork so to have a 100% failure Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com> |
||
---|---|---|
libnetwork |