Fixes #5749
libcontainer support for arbitrary route table entries Docker-DCO-1.1-Signed-off-by: William Thurston <me@williamthurston.com> (github: jhspaybar)
This commit is contained in:
parent
89b64d33ee
commit
755e5047a7
8 changed files with 165 additions and 31 deletions
|
@ -39,6 +39,11 @@ func TestContainerJsonFormat(t *testing.T) {
|
|||
t.Fail()
|
||||
}
|
||||
|
||||
if len(container.Routes) != 2 {
|
||||
t.Log("should have found 2 routes")
|
||||
t.Fail()
|
||||
}
|
||||
|
||||
if !container.Namespaces["NEWNET"] {
|
||||
t.Log("namespaces should contain NEWNET")
|
||||
t.Fail()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue