add .travis.yml

This commit is contained in:
Song Gao 2019-01-12 14:23:33 -08:00
parent ed5454b50a
commit f6122f5b2f
4 changed files with 37 additions and 2 deletions

View file

@ -10,7 +10,7 @@ import (
)
func startBroadcast(t *testing.T, dst net.IP) {
if err := exec.Command("ping", "-b", "-c", "2", dst.String()).Start(); err != nil {
if err := exec.Command("ping", "-b", "-c", "4", dst.String()).Start(); err != nil {
t.Fatal(err)
}
}