aboutsummaryrefslogtreecommitdiffstats
path: root/syz-ci
diff options
context:
space:
mode:
Diffstat (limited to 'syz-ci')
-rw-r--r--syz-ci/manager.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/syz-ci/manager.go b/syz-ci/manager.go
index 2f4e872f8..14ecaa9b5 100644
--- a/syz-ci/manager.go
+++ b/syz-ci/manager.go
@@ -549,9 +549,10 @@ func (mgr *Manager) createTestConfig(imageDir string, info *BuildInfo) (*mgrconf
*mgrcfg = *mgr.managercfg
mgrcfg.Name += "-test"
mgrcfg.Tag = info.KernelCommit
- // Use random free ports to not collide with the actual manager.
+ // Use designated ports not to collide with the ports of other managers.
mgrcfg.HTTP = fmt.Sprintf("localhost:%v", mgr.mgrcfg.testHTTPPort)
- mgrcfg.RPC = fmt.Sprintf("localhost:%v", mgr.mgrcfg.testRPCPort)
+ // For GCE VMs, we need to bind to a real networking interface, so no localhost.
+ mgrcfg.RPC = fmt.Sprintf(":%v", mgr.mgrcfg.testRPCPort)
mgrcfg.Workdir = filepath.Join(imageDir, "workdir")
if err := instance.SetConfigImage(mgrcfg, imageDir, true); err != nil {
return nil, err