aboutsummaryrefslogtreecommitdiffstats
path: root/syz-ci
diff options
context:
space:
mode:
Diffstat (limited to 'syz-ci')
-rw-r--r--syz-ci/manager.go3
-rw-r--r--syz-ci/syz-ci.go5
2 files changed, 2 insertions, 6 deletions
diff --git a/syz-ci/manager.go b/syz-ci/manager.go
index 784527023..547b5d9cc 100644
--- a/syz-ci/manager.go
+++ b/syz-ci/manager.go
@@ -591,8 +591,7 @@ func (mgr *Manager) createTestConfig(imageDir string, info *BuildInfo) (*mgrconf
*mgrcfg = *mgr.managercfg
mgrcfg.Name += "-test"
mgrcfg.Tag = info.KernelCommit
- // Use designated ports not to collide with the ports of other managers.
- mgrcfg.HTTP = fmt.Sprintf("localhost:%v", mgr.mgrcfg.testHTTPPort)
+ mgrcfg.HTTP = "" // Don't start the HTTP server.
// 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")
diff --git a/syz-ci/syz-ci.go b/syz-ci/syz-ci.go
index fdaca59f3..ede3bad17 100644
--- a/syz-ci/syz-ci.go
+++ b/syz-ci/syz-ci.go
@@ -225,8 +225,7 @@ type ManagerConfig struct {
managercfg *mgrconfig.Config
// Auto-assigned ports used by test instances.
- testHTTPPort int
- testRPCPort int
+ testRPCPort int
}
type ManagerJobs struct {
@@ -461,8 +460,6 @@ func loadManagerConfig(cfg *Config, mgr *ManagerConfig) error {
managercfg.RPC = fmt.Sprintf(":%v", cfg.RPCPort)
cfg.RPCPort++
}
- mgr.testHTTPPort = cfg.ManagerPort
- cfg.ManagerPort++
mgr.testRPCPort = cfg.RPCPort
cfg.RPCPort++
// Note: we don't change Compiler/Ccache because it may be just "gcc" referring