From ce6345d071a89be1e5ca2b2ea9a28b01eb3fa775 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Thu, 14 Aug 2025 15:18:11 +0200 Subject: syz-cluster: use fewer VMs in the boot step Our base configs have 4 VMs, but we don't need that many for the boot test. --- syz-cluster/workflow/boot-step/main.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'syz-cluster/workflow/boot-step') diff --git a/syz-cluster/workflow/boot-step/main.go b/syz-cluster/workflow/boot-step/main.go index 2b180098b..648d7d5bb 100644 --- a/syz-cluster/workflow/boot-step/main.go +++ b/syz-cluster/workflow/boot-step/main.go @@ -76,11 +76,17 @@ func main() { // the test must fail 3 times in a row. const retryCount = 3 +// The base config may have more VMs, but we don't need that many. +const vmCount = 3 + func runTest(ctx context.Context, client *api.Client) (bool, error) { cfg, err := mgrconfig.LoadFile(filepath.Join("/configs", *flagConfig, "base.cfg")) if err != nil { return false, err } + if err := instance.OverrideVMCount(cfg, vmCount); err != nil { + return false, err + } cfg.Workdir = "/tmp/test-workdir" var rep *report.Report -- cgit mrf-deployment