test: Mend tests for latest event changes etc

This commit is contained in:
Jakob Borg
2017-11-12 23:28:45 +01:00
parent 72c5f2e5c6
commit 6e148e20cd
8 changed files with 212 additions and 87 deletions

View File

@@ -83,6 +83,9 @@ func benchmarkTransfer(t *testing.T, files, sizeExp int) {
receiver := startInstance(t, 2)
defer checkedStop(t, receiver)
sender.ResumeAll()
receiver.ResumeAll()
var t0, t1 time.Time
lastEvent := 0
loop: