Skip to content
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

Run unit and integration tests with gotestsum #22541

Merged
merged 34 commits into from
Jan 14, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
d35fd1c
Creating failing tests, test cases
Nov 11, 2020
b629d7b
Rewrite mage go test based on gotestsum
Nov 16, 2020
81a34eb
Merge branch 'master' into test_reports_incomplete
Nov 16, 2020
13b252b
Fix lint on tests
Nov 18, 2020
9d8e563
print go test output directly
Nov 18, 2020
747a429
clean up go.mod after installing go based tool
Nov 18, 2020
53717ea
Merge branch 'master' into test_reports_incomplete
Nov 19, 2020
4f7cb68
lets try with go get
Nov 19, 2020
0b98e70
try to switch to another directory before when installing gotestsum
Nov 20, 2020
7629ccb
Add gotestsum to heartbeat docker image for testing
Nov 20, 2020
2170d7e
fix verbosity mode
Dec 8, 2020
6e659b9
Merge branch 'master' into test_reports_incomplete
Dec 8, 2020
d2eff71
remove leftover debug output
Dec 9, 2020
1f3c661
Merge branch 'master' into test_reports_incomplete
Dec 24, 2020
8268937
Add gotestsum to metricbeat dockerfile
Dec 24, 2020
d5af77d
Merge branch 'master' into test_reports_incomplete
Dec 28, 2020
c576b27
Add missing gotestsum to Dockerfiles
Dec 28, 2020
c1ddf3f
Add unit tests for GoTest
Dec 29, 2020
91a86ed
remove test output tests from filebeat
Dec 29, 2020
e4a7dfc
fix notice file
Dec 29, 2020
ac578cb
Update common/cli tests to capture output as well
Dec 30, 2020
2d7b0e3
one more missing gotestsum
Dec 30, 2020
f393fdf
Do not upgrade x/sys
Dec 30, 2020
c567e11
use go.mod from master
Dec 30, 2020
a06fcd2
gotest testing cleanups and minor fixes
Dec 30, 2020
6448cb2
remove GoTestSummary
Jan 4, 2021
b015a84
Merge branch 'master' into test_reports_incomplete
Jan 4, 2021
e61ea51
Merge branch 'master' into test_reports_incomplete
Jan 12, 2021
942f413
remove go-junit-reporter from go.mod
Jan 12, 2021
5cabf71
update notice
Jan 12, 2021
e75a323
Install gotestsum via mage
Jan 12, 2021
28de5cc
Merge branch 'master' into test_reports_incomplete
Jan 12, 2021
703fcf5
fix import order
Jan 13, 2021
69b3387
Try to fix build by updating indirect dependency psutil
Jan 13, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'master' into test_reports_incomplete
  • Loading branch information
urso committed Dec 24, 2020
commit 1f3c66143f1ae2236bf0580ed71e32f51b900ce4
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ require (
github.com/elastic/go-txfile v0.0.7
github.com/elastic/go-ucfg v0.8.3
github.com/elastic/go-windows v1.0.1 // indirect
github.com/elastic/gosigar v0.12.0
github.com/elastic/gosigar v0.13.0
github.com/fatih/color v1.9.0
github.com/fsnotify/fsevents v0.1.1
github.com/fsnotify/fsnotify v1.4.9
Expand Down Expand Up @@ -169,7 +169,7 @@ require (
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a
golang.org/x/sys v0.0.0-20201009025420-dfb3f7c4e634
golang.org/x/text v0.3.2
golang.org/x/text v0.3.3
golang.org/x/time v0.0.0-20191024005414-555d28b269f0
golang.org/x/tools v0.0.0-20200904185747-39188db58858
google.golang.org/api v0.15.0
Expand Down
7 changes: 4 additions & 3 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,8 @@ github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymF
github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98=
github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
github.com/evanphx/json-patch v4.2.0+incompatible h1:fUDGZCv/7iAN7u0puUVhvKCcsR6vRfwrJatElLBEf0I=
github.com/evanphx/json-patch v4.2.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk=
github.com/evanphx/json-patch v4.9.0+incompatible h1:kLcOMZeuLAJvL2BPWLMIj5oaZQobrkAqrL+WFZwQses=
github.com/evanphx/json-patch v4.9.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk=
github.com/fatih/color v1.9.0 h1:8xPHl4/q1VyqGIPif1F+1V3Y3lSmrq01EabUW3CoW5s=
github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU=
github.com/fortytw2/leaktest v1.3.0 h1:u8491cBMTQ8ft8aeV+adlcytMZylmA5nnwwkRZjI8vw=
Expand Down Expand Up @@ -884,10 +884,11 @@ golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200622214017-ed371f2e16b4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20201009025420-dfb3f7c4e634 h1:bNEHhJCnrwMKNMmOx3yAynp5vs5/gRy+XWFtZFu7NBM=
golang.org/x/sys v0.0.0-20201009025420-dfb3f7c4e634/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/text v0.0.0-20160726164857-2910a502d2bf/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.2 h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs=
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.