Skip to content

Commit

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

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

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

0 comments on commit 90a8265

Please sign in to comment.