less printing

This commit is contained in:
Zack Scholl 2018-09-25 19:49:05 -07:00
parent 5a94062171
commit da2b22f73d
2 changed files with 2 additions and 1 deletions

View File

@ -28,6 +28,7 @@ func sendAndReceive(t *testing.T, forceSend int, local bool) {
defer wg.Done()
c := Init(true)
c.NoLocal = !local
// c.AddressTCPPorts = []string{"8154", "8155"}
c.ForceSend = forceSend
c.UseCompression = true
c.UseEncryption = true
@ -40,6 +41,7 @@ func sendAndReceive(t *testing.T, forceSend int, local bool) {
os.Chdir("test")
c := Init(true)
c.NoLocal = !local
// c.AddressTCPPorts = []string{"8154", "8155"}
c.ForceSend = forceSend
startTime = time.Now()
assert.Nil(t, c.Receive(room))

View File

@ -180,7 +180,6 @@ func send(forceSend int, serverAddress string, tcpPorts []string, isLocal bool,
currentPostition := int64(0)
for {
bytesread, err := f.Read(buffer)
log.Debug(bytesread, err)
if bytesread > 0 {
// do compression
var compressedBytes []byte