Enable Go integration tests on `main` for Windows and Mac
- Dominant language
- Go
- Stars
- 12.7k
- Forks
- 5k
- Avg merge
- 2d 15m
- Merged PRs (30d)
- 385
Description
Our Go integration tests (`mage GoIntegTest`) are not running on Windows nor MacOs.
Looking at a recent run from main (https://github.com/elastic/beats/commit/019fe1d13bb8edc552ddea00420a16376c5f4a13) I can see there is no Go integration test for Windows or Mac

Running a subset of them, I got the following tests failing:
- TestFilestreamCleanInactive
- TestFilestreamCanMigrateIdentity/native_to_fingerprint
- TestFilestreamCanMigrateIdentity/path_to_fingerprint
- TestFilestreamCanMigrateIdentity/path_to_native
- TestFilestreamMigrateIdentityCornerCases
- TestFilestreamTakeOverFromLogInput
Some are recent, but others are older, e.g `TestFilestreamCleanInactive` is about 1 year old.
Contributor guide
Research direction
Start with the main-branch run linked in the issue and the `mage GoIntegTest` entry point to determine why Windows and macOS are missing. Reproduce the listed Filestream failures, including `TestFilestreamCleanInactive` and the `TestFilestreamCanMigrateIdentity` cases. Done means Go integration tests run on both platforms and the reported failures are resolved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- ci-cd, testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100