Change integration test "log" field to "instance"

This commit is contained in:
Jakob Borg
2015-01-11 09:26:20 +01:00
parent 571cf7d490
commit d4d391b34f
10 changed files with 71 additions and 71 deletions

View File

@@ -101,10 +101,10 @@ func testFileTypeChange(t *testing.T) {
log.Println("Syncing...")
sender := syncthingProcess{ // id1
log: "1.out",
argv: []string{"-home", "h1"},
port: 8081,
apiKey: apiKey,
instance: "1",
argv: []string{"-home", "h1"},
port: 8081,
apiKey: apiKey,
}
err = sender.start()
if err != nil {
@@ -112,10 +112,10 @@ func testFileTypeChange(t *testing.T) {
}
receiver := syncthingProcess{ // id2
log: "2.out",
argv: []string{"-home", "h2"},
port: 8082,
apiKey: apiKey,
instance: "2",
argv: []string{"-home", "h2"},
port: 8082,
apiKey: apiKey,
}
err = receiver.start()
if err != nil {