Skip to content

Commit

Permalink
test full release, remove inspect
Browse files Browse the repository at this point in the history
Signed-off-by: Emanuele Di Pascale <[email protected]>
  • Loading branch information
edipascale committed Jan 31, 2025
1 parent 49c183c commit 064a275
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ jobs:
run: |
source "./lab-ci/envs/$KUBE_NODE/source.sh"
bin/hhfab init -v --dev --include-onie=${{ matrix.includeonie }} -w "./lab-ci/envs/$KUBE_NODE/wiring.yaml"
bin/hhfab vlab up -v --ready switch-reinstall --ready inspect --ready release-test --ready exit --mode=${{ matrix.buildmode }}
bin/hhfab vlab up -v --ready switch-reinstall --ready wait --ready release-test --mode=${{ matrix.buildmode }}
cat release-test.xml
- name: Publish Test Results
Expand Down
4 changes: 2 additions & 2 deletions pkg/hhfab/vlabrunner.go
Original file line number Diff line number Diff line change
Expand Up @@ -562,10 +562,10 @@ func (c *Config) VLABRun(ctx context.Context, vlab *VLAB, opts VLABRunOpts) erro
return fmt.Errorf("inspecting: %w", err)
}
case OnReadyReleaseTest:
if err := c.ReleaseTest(ctx, ReleaseTestOpts{ResultsFile: "release-test.xml", HhfabBin: "bin/hhfab", Regexes: []string{"StaticExternal"}}); err != nil {
if err := c.ReleaseTest(ctx, ReleaseTestOpts{ResultsFile: "release-test.xml", HhfabBin: "bin/hhfab"}); err != nil {
slog.Warn("Failed to run release test", "err", err)

return fmt.Errorf("running release test: %w", err)
return fmt.Errorf("release test: %w", err)
}
}
}
Expand Down

0 comments on commit 064a275

Please sign in to comment.