Skip to content

Commit bf090ce

Browse files
fix mage:goIntegTest for x-pack/metricbeat (#45362) (#45365)
(cherry picked from commit 367df18) Co-authored-by: Khushi Jain <khushi.jain@elastic.co>
1 parent f758c33 commit bf090ce

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

x-pack/metricbeat/magefile.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,10 @@ func GoIntegTest(ctx context.Context) error {
256256
args.Env["ES_PASS"] = args.Env["ES_SUPERUSER_PASS"]
257257
// run integration test from home directory
258258
args.Packages = []string{"./tests/integration/"}
259-
devtools.GoIntegTestFromHost(ctx, args)
259+
err := devtools.GoIntegTestFromHost(ctx, args)
260+
if err != nil {
261+
return err
262+
}
260263

261264
mg.SerialDeps(Fields, Dashboards)
262265
}

0 commit comments

Comments
 (0)