362dfb4d08
test: s/20m/30m/g
...
Every other test build times out due to the 20 minute test timeout. I
doesn't seem like tests are actually hanging, it's more that 20 minutes
just isn't enough to run the tests any more.
2019-06-20 23:44:25 +02:00
1caaa9ed4a
test: test update for Go 1.12.5 and related changes
...
Update to Go 1.12.5 testing. Remove deprecated unused and gosimple
pacakges, and mask staticcheck 1006. Also, fix unconvert errors related
to unnecessary type conversions and following staticcheck errors:
- remove redundant return statements
- use for range instead of for select
- use time.Since instead of time.Now().Sub
- omit comparison to bool constant
- replace T.Fatal and T.Fatalf in tests with T.Error and T.Fatalf respectively because the goroutine calls T.Fatal must be called in the same goroutine as the test
- fix error strings that should not be capitalized
- use sort.Strings(...) instead of sort.Sort(sort.StringSlice(...))
- use he status code of Canceled instead of grpc.ErrClientConnClosing which is deprecated
- use use status.Errorf instead of grpc.Errorf which is deprecated
Related #10528 #10438
2019-06-05 17:02:05 -04:00
9150bf52d6
go modules: Fix module path version to include version number
2019-04-26 15:29:50 -07:00
474cea1cd6
test: Add shadow tool
2019-02-06 23:20:06 -06:00
2001786f02
*: Use -n instead of ! -z. [SC2236]
...
Signed-off-by: Sam Batschelet <sbatsche@redhat.com >
2019-01-08 13:45:40 -05:00
c58f5cfeda
test: disable "unparam" for now
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2018-12-17 11:30:28 -08:00
78d01140ff
*: resolve shellcheck errors.
2018-10-25 19:41:11 -04:00
bcde798fdd
*: path changes for moving to github/etcd-io/etcd
2018-09-03 21:57:23 +05:30
02b94fcc0d
test: fix "license-bill-of-materials" command
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2018-08-28 20:53:28 -07:00
1c04820026
tests: integrate "github.com/mgechev/revive" to fmt tests
...
https://github.com/mgechev/revive
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-07-21 15:49:53 -07:00
12acfc057a
vendor: upgrade grpc/grpc-go to v1.11.3
2018-06-15 13:41:28 -07:00
4cbfcfeede
test: fix test "etcdserver/api/v2store"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-05-14 14:33:49 -07:00
775e9d5ba6
test: add "unused_pass"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-05-09 15:39:44 -07:00
18e1686bdf
test: only print test targets in verbose mode
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-05-01 10:07:25 -07:00
1af2228fca
test: add "unconvert" test
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-30 15:32:16 -07:00
358640de46
test: fix "markdown_you_pass"
...
"find" command was matching "vendor" directory in
my local machine.
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-30 11:42:35 -07:00
cdadc4638d
test: enable static analysis "SA4004"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-30 10:04:44 -07:00
5fd9270d6c
test: disable SA4004 temporarily
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-27 14:21:17 -07:00
ad4b747ed4
test: configure go test -cpu flag
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-20 14:10:30 -07:00
fdf4a12d3c
test: rename etcd functional test data directories
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-11 19:52:23 -07:00
7ed4803fb0
test: remove "-a" GO_BUILD_FLAGS
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-11 01:45:06 -07:00
7e56c3e737
test: remove backup data from functional tests
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-11 01:18:15 -07:00
6cf9979cf0
test: remove wait commands
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-10 18:38:01 -07:00
eabb40f0ae
test: combine "compile_pass" into "build_pass"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-10 17:07:42 -07:00
0e7f1100e3
cover: move coverage test script to "tests"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-09 10:47:32 -07:00
0c327ea456
test: move "e2e" and "functional"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-09 10:47:25 -07:00
85e050a120
*: rename, clean up functional tests
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-07 10:00:00 -07:00
d7b468ec6f
test: bump up test timeout to 20m
...
Recently, we've added bunch of tests...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-04 13:45:12 -07:00
173fdc37a3
test: run shellcheck only on bash scripts
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-02 11:45:04 -07:00
048a1b14d5
test: bump up default timeout for now
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-03-30 14:42:45 -07:00
28766fb002
test: run test script with new "functional-tester"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-03-30 11:25:23 -07:00
9c995fab9b
test: fix shellcheck
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-03-22 10:39:23 -07:00
3571f406aa
scripts: add TESTCASE flag to run single unit test
...
Enable user to run specified test case with different TIMEOUT expectation
when needed.
2018-03-13 13:54:20 -07:00
1da0818186
build: use "bash" syntax, clean up
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-02-27 11:07:36 -08:00
18f8b1b1e1
build,test: set up GOPATH in build script
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-02-27 10:23:14 -08:00
2dd8af3503
test: fix "internal/store" path
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-02-26 17:12:45 -08:00
d4aeb3b8cf
Merge pull request #9356 from mkumatag/fix_gopath
...
test, build: Fix gopath creation
2018-02-26 07:38:22 -08:00
adf4e05079
test, build: Fix gopath creation
2018-02-26 04:21:06 -05:00
3e13424bb8
test: fix "internal/store"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-02-12 09:21:11 -08:00
5960c7519f
test: configure advertise ports in functional_pass
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-01-24 17:37:09 -08:00
42c90ffd83
test: remove "use-root" in functional_pass
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-01-24 17:37:09 -08:00
6eefc93343
test: remove "./cmd", "etcd_setup_gopath"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-01-24 15:26:17 -08:00
38105095cd
test: limit stress-qps for slow CI machines, add txn flags
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2018-01-09 13:43:36 -08:00
70cca45824
*: update release upgrade test versions
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2017-12-20 14:20:52 -08:00
ba702ae601
test: bump up clientv3/integration test time out
...
Recently we've added many more tests.
Until we parallelize tests, just increase the timeout.
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2017-12-19 14:17:55 -08:00
f97233d206
test: log gocovmerge merging
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2017-12-05 17:18:13 -08:00
4ad8bd9299
Merge pull request #8858 from gyuho/aaa
...
test: clean up fmt tests
2017-11-29 09:51:07 -08:00
1bca2e969f
test: Clean agent directories on disk before functional test runs, not after
...
This is primarily so CI tooling can capture the agent logs after the functional tester runs.
2017-11-14 13:09:52 -08:00
27519ffdb4
test: clean up fmt tests
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-11-12 14:19:53 -08:00
65a606e2e8
test: add naked return checks
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-11-10 17:55:55 -08:00