mirror of https://github.com/schollz/croc.git
fix
This commit is contained in:
parent
26f0fc3319
commit
f6c2382c0a
|
@ -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"))
|
||||
|
|
Loading…
Reference in New Issue