elastic / elastic/fleet-server

E2E tests don't run on arm64, install is specific to linux

Open
#3,620 1 comment 0 reactions 0 assignees View on GitHub
Team:Elastic-Agent-Control-Plane tech debt
Dominant language
Go
Stars
113
Forks
117
Avg merge
1d 16h
Merged PRs (30d)
112

Description

E2E tests have hard coded assumptions that it runs linux/amd64.

Additionally the agent install tests only work on linux/amd64 (darwin untested).

At a minimum we should make the `test-e2e` and `test-int` targets run on arm64 hosts.

Additionally we can test to see if we can get the install e2e tests running on darwin and windows machines.
Windows machines will require extra steps that we may want in another issue:
- run the tests's `install` without `sudo`
- fix `TearDownTest()` to uninstall the agent without `sudo`
- fix the suite's `TearDownSuite()` function to work across OS'

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.