Gyu-Ho Lee
6a805e5222
test: do not run extra static checks on release branch
...
Things are usually already fixed in master branch
but not worth backporting.
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-04-13 14:44:22 -07:00
Vimal Kumar
fce20a0b0b
test: passed the test script arguments as the test function parameters
2017-01-20 11:15:01 -08:00
fanmin shi
cbb6ede69d
Merge pull request #7067 from fanminshi/rework_coverage_unit_integration
...
coverage: rework coverage for unit and integration tests
2016-12-30 10:13:07 -08:00
fanmin shi
d9a3472894
coverage: rework code coverage for unit and integration tests
2016-12-29 17:19:03 -08:00
Anthony Romano
f876ccb055
test: bump grpcproxy pass timeout to 15m
...
integration tests have a 15m timeout elsewhere. The lease stress tests
seem to have pushed the running time over 10m on proxy CI, causing
failures from timeout.
2016-12-28 14:56:57 -08:00
Gyu-Ho Lee
6ec4b9c26a
test: exclude '_home' for gosimple, unused
2016-12-12 10:07:14 -08:00
Ben Darnell
10cead3139
test: Ignore gopath.proto in test script
2016-10-19 19:35:20 +08:00
Geoff Levand
3cbc5285e0
test: Run integration pass in series
...
On slower or heavily loaded platforms running the integration pass in
parallel results in test timeout errors.
Rename the integration_pass function to integration_e2e_pass, and add two
new functions integration_pass and e2e_pass.
Signed-off-by: Geoff Levand <geoff@infradead.org>
2016-10-05 15:35:14 -07:00
Geoff Levand
25f1088edd
test: Fixes for release_pass
...
Some fixes related to release_pass:
o Create the output directory ./bin if it does not exist.
o Define the GOARCH variable if it is not defined.
o Simplify the race detection test.
o Download the relese archive based on GOARCH.
o If the release file is not found, return success. This will allow the tests
to continue.
Signed-off-by: Geoff Levand <geoff@infradead.org>
2016-10-04 13:42:53 -07:00
Gyu-Ho Lee
20211ed6bf
test: grep versions with --sort
2016-09-23 15:49:20 -07:00
Gyu-Ho Lee
3aa2d1b40e
test: test with v3.0 (preparation for v3.1)
2016-08-30 20:54:07 -07:00
Anthony Romano
e1519cf460
build: don't override gopath by default, demote old gopath on override
...
Builds already vendor through cmd/ so there's no reason to set the GOPATH; it
was also breaking gofail builds. For builds that need to override GOPATH, also
include the old GOPATH as a fallback for dependencies outside cmd/vendor/.
2016-08-16 13:46:07 -07:00
Anthony Romano
becbd9f3d6
test: grpcproxy integration test pass
...
Run via
PASSES=grpcproxy ./test
2016-07-20 15:58:33 -07:00
kayrus
cab2e45319
build: allow to build outside the etcd directory
...
And added gopath hack which allows to build without setting any GOPATH
env. Just run the build script when you have installed golang.
2016-07-18 17:40:08 +02:00
Anthony Romano
1dfafd8fe0
test: separate phases of tests into configurable passes
2016-07-14 20:23:35 -07:00
Gyu-Ho Lee
e5b5cf02d3
test: add upgrade test flag
2016-07-11 11:10:24 -07:00
Anthony Romano
c30f89f1d0
client/integration: test v2 client one shot operations
2016-07-07 15:58:58 -07:00
Anthony Romano
dc218fb41d
test: use merge-base for commit title checking
...
Otherwise, will compare branch with forked master against upstream master.
2016-06-29 09:28:53 -07:00
Gyu-Ho Lee
ede0b584b8
test: test builds on other projects
2016-06-28 15:03:19 -07:00
Hitoshi Mitake
555028f3d1
test: more accurate checking of commit title
2016-06-26 21:05:47 -07:00
Anthony Romano
b7253992d4
test: check commit titles
2016-06-22 13:30:22 -07:00
Anthony Romano
7f8ffd7dbe
test, build: support failpoints
2016-06-21 14:43:20 -07:00
Anthony Romano
6009e88077
test, build: make build script source-able without doing a build
2016-06-21 14:35:20 -07:00
Anthony Romano
6c0882145a
test: don't use hardcoded package lists for testing
2016-06-17 11:41:49 -07:00
Xiang Li
7f569a163c
test: go vet should only test the go code in the dir
2016-06-14 17:09:06 -07:00
Hitoshi Mitake
1727f278f2
test: remove a directory correctly
...
Current rm in the test script cannot the gopath/src correctly and
results test failure.
2016-05-20 13:42:36 +09:00
Anthony Romano
e312bb675c
test: fix wait on integration tests
...
Typo was causing failed tests to look like they passed on CI.
2016-05-16 06:32:38 -07:00
Gyu-Ho Lee
fd7e2b20b0
test: fix typo, clean-up print statements
2016-05-10 23:05:58 -07:00
Geoff Levand
b79bb6f164
travis: Enable arm64 builds
...
Setup a travis test matrix on a new variable 'TARGET', which specifies the CI
target. Update the script section with a conditional that runs the needed
commands for each target.
Also, set go_import_path to make cloned repos work, enable the trusty VM, and
enable verbose builds when testing.
Signed-off-by: Geoff Levand <geoff@infradead.org>
2016-04-29 15:31:30 -07:00
Gyu-Ho Lee
d893a78c38
test: add v3rpc, rpctypes
2016-04-29 11:00:02 -07:00
Anthony Romano
85edd66c65
test: run e2e and integration tests in parallel
2016-04-28 10:17:40 -07:00
Gyu-Ho Lee
14415c2187
auth: add tests
2016-04-27 10:13:36 -07:00
Anthony Romano
b7ac758969
*: rename storage package to mvcc
2016-04-25 15:25:51 -07:00
Anthony Romano
46dfa682e7
test: display failure output for gosimple
2016-04-19 22:58:37 -07:00
Anthony Romano
9bfa0172f5
test, clientv3: run examples as integration tests
2016-04-15 11:51:30 -07:00
Anthony Romano
01be6933c6
test: check races on rafthttp
...
The data race in net/http has been fixed for a while.
2016-04-14 13:45:31 -07:00
Xiang Li
4a913ae60a
proxy: initial userspace tcp proxy
2016-04-14 10:14:30 -07:00
Xiang Li
66d2ae7a39
proxy: move http related thing to httpproxy
2016-04-13 21:09:26 -07:00
Anthony Romano
2113b77635
test: display unused output if unused source found
...
unused will non-zero exit if it finds unused source which causes test's
set -e to close out of the test script
2016-04-11 09:55:22 -07:00
Gyu-Ho Lee
9aec045fce
test, travis: integrate gosimple and unused
2016-04-07 23:16:33 -07:00
Anthony Romano
b1d41016b2
vendor: only vendor on emitted binaries
...
Moves the vendor/ directory to cmd/vendor. Vendored binaries are built
from cmd/, which is backed by symlinks pointing back to repo root.
2016-04-05 21:01:16 -07:00
Xiang Li
2c50eb240e
*: mv etcdhttp into api pkg
2016-04-04 16:31:35 -07:00
Anthony Romano
b539d3a411
test: check formatting for all relevant packages in pkg/
2016-03-30 15:14:24 -07:00
Anthony Romano
47db0a2f2e
test: add race detection to clientv3 integration tests
2016-03-28 16:08:18 -07:00
Anthony Romano
9e7f47c490
etcdserver: Alarm RPC
...
Alarms are events that nodes can use to relay health information to
the rest of the cluster. A node may Activate an alarm and that alarm
will stay set until Deactivated.
2016-03-28 14:56:26 -07:00
Xiang Li
87d9f06a45
*: combine etcdctl and etcdctlv3
2016-03-28 11:28:05 -07:00
Anthony Romano
45cf31650c
test: ignore vendor/ directory on license check
2016-03-22 17:33:46 -07:00
Anthony Romano
f491110c5b
test: check clientv3 has no dependency on etcdserver or storage packages
2016-03-17 11:31:14 -07:00
Anthony Romano
f6d8059ac1
test: scan for exported godoc violations
2016-02-21 20:36:44 -08:00
Hitoshi Mitake
e4d2ff3bd9
build, test: don't pass -a flag for go build during ordinal building
...
./build takes long time. On my Core i5 box, it requires almost 25
seconds. Without -a flag, it takes almost 15 seconds. Therefore this
commit reduces the flag in default. ./test activates -a via a new env
var GO_BUILD_FLAGS.
2016-02-09 14:11:44 +09:00