Skip to content

Commit

Permalink
Revert "Do not skip npcap installation for system tests"
Browse files Browse the repository at this point in the history
This reverts commit 90a8265.
  • Loading branch information
marc-gr committed Dec 30, 2024
1 parent 90a8265 commit dca136d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion x-pack/packetbeat/magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,12 @@ func TestPackages() error {
}

func SystemTest(ctx context.Context) error {
mg.SerialDeps(xpacketbeat.GetNpcapInstaller, devtools.BuildSystemTestBinary)
// Buildkite (CI) images have preinstalled npcap
if os.Getenv("CI") == "true" {
mg.SerialDeps(devtools.BuildSystemTestBinary)
} else {
mg.SerialDeps(xpacketbeat.GetNpcapInstaller, devtools.BuildSystemTestBinary)
}

args := devtools.DefaultGoTestIntegrationArgs()
args.Packages = []string{"./tests/system/..."}
Expand Down

0 comments on commit dca136d

Please sign in to comment.