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

@@ -205,6 +205,10 @@ func testSyncCluster(t *testing.T) {
p2 := startInstance(t, 3)
defer checkedStop(t, p2)
p0.ResumeAll()
p1.ResumeAll()
p2.ResumeAll()
p := []*rc.Process{p0, p1, p2}
start := time.Now()
@@ -351,6 +355,10 @@ func testSyncClusterForcedRescan(t *testing.T) {
p2 := startInstance(t, 3)
defer checkedStop(t, p2)
p0.ResumeAll()
p1.ResumeAll()
p2.ResumeAll()
p := []*rc.Process{p0, p1, p2}
start := time.Now()
@@ -514,6 +522,9 @@ func TestSyncSparseFile(t *testing.T) {
p1 := startInstance(t, 2)
defer checkedStop(t, p1)
p0.ResumeAll()
p1.ResumeAll()
rc.AwaitSync("default", p0, p1)
log.Println("Comparing...")