Skip to content
Snippets Groups Projects
Commit 9fae107a authored by Josh Brooks's avatar Josh Brooks
Browse files

Fix race condition in FT wrapper_test (groupChat)

parent 2403765f
No related branches found
No related tags found
3 merge requests!510Release,!468Changes to make Integration Test,!459Move wg for file transfer test
...@@ -122,7 +122,6 @@ func Test_FileTransfer_Smoke(t *testing.T) { ...@@ -122,7 +122,6 @@ func Test_FileTransfer_Smoke(t *testing.T) {
"\nsent: %q\nreceived: %q", "\nsent: %q\nreceived: %q",
fileData, receivedFile) fileData, receivedFile)
} }
wg.Done()
} }
} }
err3 := m2.RegisterReceivedProgressCallback( err3 := m2.RegisterReceivedProgressCallback(
...@@ -163,6 +162,7 @@ func Test_FileTransfer_Smoke(t *testing.T) { ...@@ -163,6 +162,7 @@ func Test_FileTransfer_Smoke(t *testing.T) {
speed := fileSizeKb * float32(time.Second) / (float32(sendTime)) speed := fileSizeKb * float32(time.Second) / (float32(sendTime))
t.Logf("Completed receiving file %q in %s (%.2f kb @ %.2f kb/s).", t.Logf("Completed receiving file %q in %s (%.2f kb @ %.2f kb/s).",
fileName, sendTime, fileSizeKb, speed) fileName, sendTime, fileSizeKb, speed)
wg.Done()
} }
}() }()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment