Closed johanneswuerbach closed 8 years ago
@johanneswuerbach Thanks!!
but, If remove vmnet/*
, We will not be able to test in travis for xhyve can not start.
See https://github.com/zchee/docker-machine-driver-xhyve/pull/37 and https://travis-ci.org/zchee/docker-machine-driver-xhyve/jobs/99313858
How do you think?
@johanneswuerbach
Or, we do not need to be test uuid
and mac
?
While more coverage is great, I personally would prefer to merge this PR in this case and not to test uuid
and mac
for now. Copying at lot of xhyve src to be able to test feels worse and might also break in the future. After this PR this driver would still work when xhyve decides to change their UUID2Mac implementation.
WDYT?
@johanneswuerbach OK, I understand. LGTM.
I like the way virtualbox is unit tested in docker/machine, maybe something worth adapting for xhyve https://github.com/docker/machine/blob/master/drivers/virtualbox/virtualbox_test.go
@johanneswuerbach Thanks. I will use that as reference from now on.
https://github.com/mist64/xhyve/pull/79 allows to fetch the mac address using xhyve instead of using vmnet directly