This commit is contained in:
Zack Scholl 2018-09-24 08:32:17 -07:00
parent 26f0fc3319
commit f6c2382c0a
1 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,7 @@ func sendAndReceive(t *testing.T, forceSend int) {
go func() {
defer wg.Done()
c := Init(true)
c.NoLocal = true
c.ForceSend = forceSend
assert.Nil(t, c.Send(fname, "test"))
}()
@ -31,6 +32,7 @@ func sendAndReceive(t *testing.T, forceSend int) {
os.MkdirAll("test", 0755)
os.Chdir("test")
c := Init(true)
c.NoLocal = true
c.ForceSend = forceSend
startTime = time.Now()
assert.Nil(t, c.Receive("test"))