-
Notifications
You must be signed in to change notification settings - Fork 526
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use mage in windows test runner #1301
Conversation
f20d6dd
to
273bed3
Compare
273bed3
to
aa1ad48
Compare
Thanks @graphaelli for attempting this! Issue seems to persist: https://apm-ci.elastic.co/job/elastic+apm-server+pull-request+multijob-windows/beat=apm-server,label=windows/1197/console
|
@jalvz Sorry, I should have been more clear - this requires some changes to our jenkins infrastructure as well. I have not been able to figure out how to make these fail when |
so, there is 2 issues, right? second one is more pushing i think |
dbc5575
to
e243d32
Compare
e243d32
to
7261053
Compare
# Get a CSV list of package names. | ||
$packages = $(go list ./... | select-string -Pattern "/vendor/" -NotMatch | select-string -Pattern "/scripts/cmd/" -NotMatch) | ||
$packages = ($packages|group|Select -ExpandProperty Name) -join "," | ||
exec { go test -race -c -cover -covermode=atomic -coverpkg $packages } "go test FAILURE" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this duplicating mage goTestUnit
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's similar but not identical mage -v goTestUnit
runs go test -v ./...
jenkins, retest this please. The jenkins infrastructure updates have been deployed. Both issues should be resolved now. |
jenkins, retest this please. |
* use mage in windows test runner * Abort with non zero exit code on errors * remove elasticsearch dependency from non-integration tests
* partially reverts #1301 since mage goTestUnit has not been backported yet
uses new capabilities introduced in elastic/beats#7766
closes #1248