a3032d3d0b
*: fix fmt tests, reenable "testEmbedEtcdGracefulStop"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-06-15 13:41:28 -07:00
05c57a0ea4
integration: Fix unit test failures from new grpc LB changes, fix bom
2018-06-15 13:41:28 -07:00
a5b2fb5563
clientv3: Introduce custom retry interceptor based on go-grpc-middleware/retry
2018-06-15 13:41:28 -07:00
1f6548b751
clientv3: Stop expecting retry in integration tests with new grpc balancer
2018-06-15 13:41:28 -07:00
9304d1abd1
clientv3: Fix TLS test failures by returning DeadlineExceeded error from dial without any additional wrapping
2018-06-15 13:41:28 -07:00
ee2747eba8
clientv3: Fix dial calls to consistently use endpoint resolver, attempt to deflake alarm test
2018-06-15 13:41:28 -07:00
f84f554301
clientv3: Fix auth client to use endpoints instead of host when dialing, fix tests to block on dial when required.
2018-06-15 13:41:28 -07:00
66e65cd660
clientv3: Avoid timeouts in ordering test
2018-06-15 13:41:28 -07:00
6080fa1270
clientv3: Integrate new grpc load balancer interface with etcd client
2018-06-15 13:41:28 -07:00
cbb6dea367
integration: block dial for timeout errors
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-06-08 13:49:17 -07:00
d6ff23e669
Merge pull request #9820 from gyuho/quota-size
...
*: add "etcd_server_quota_backend_bytes" metric
2018-06-07 12:06:34 -07:00
184372cd1b
integration: add "TestMetricQuotaBackendBytes"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-06-07 10:48:16 -07:00
196625b917
integration: promote db size metrics to "etcd"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-06-07 10:20:41 -07:00
917d40cd4c
integration: test client-side TLS cipher suites
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-06-05 12:34:56 -07:00
86d1d3e8dc
integration: enable TestV3WatchRestoreSnapshotUnsync for gRPC proxy
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-05-25 12:30:42 -07:00
a52f16d4a6
integration: test lease revoke routine with JWT token
...
https://github.com/coreos/etcd/pull/9698 wasn't really testing
the panic code path when leases are expiry.
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-05-24 11:38:31 -07:00
9cac286830
integration: move "TestV3WatchRestoreSnapshotUnsync"
...
When run with "-tags cluster_proxy", panic.
Need investigate more.
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-05-23 15:35:59 -07:00
7940113906
*: move internal "etcdserver/api/rafthttp"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-05-21 10:31:16 -07:00
2847232096
integration: test watch restore on slow follower
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-05-18 15:19:37 -07:00
aa99ed54b7
integration: rename "SnapshotCount"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-05-18 14:41:30 -07:00
265a37f006
integration: remove unnecessary blank line
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-05-16 15:04:52 -07:00
b7443ad849
integration: remove unused parameters
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-05-09 15:42:45 -07:00
bf432648ae
*: make bcrypt-cost configurable
2018-05-03 11:43:32 -07:00
1d18f45caf
integration: silence http server logs
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-05-02 12:58:56 -07:00
58b7ab97eb
integration: use structured logging in peer handler
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-05-02 12:53:56 -07:00
d2e1484762
integration: support structured logging in "v2http"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-05-02 11:57:23 -07:00
21d75570ee
integration: use "zap" logger
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-05-01 16:15:09 -07:00
88c70d0ca9
embed,integration,snapshot: use "LogOutputs"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-25 13:27:31 -07:00
3fe9030d34
integration: set InitialElectionTickAdvance to true by default
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-19 17:45:23 -07:00
cd7bfe1ea5
integration: set strings for LogOutput
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-17 12:47:06 -07:00
674388f599
integration: use /dev/null to discard server logs
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-17 06:14:03 -07:00
18b3e45e96
*: support --log-output=discard
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-16 19:09:09 -07:00
35a80bc910
integration,embed: ignore embed log output
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-16 17:36:00 -07:00
a7fd274c11
integration: support structured logger
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-16 17:36:00 -07:00
f879c1de33
integration: use default logger "capnslog"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-16 17:36:00 -07:00
68802b333b
integration: re-overwrite "httptest.Server" TLS.Certificates
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-13 14:19:34 -07:00
b705f6f8f2
Revert "integration: fix httptest TLS server start"
...
This reverts commit 3d3ba8b9cb
.
2018-04-13 13:06:09 -07:00
6ab9776601
integration: add "TestTLSReloadCopyIPOnly"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-13 13:02:45 -07:00
233af4b4ec
integration: add IP only TLSInfos
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-13 12:03:55 -07:00
72e23a2b1b
integration/fixtures-expired: add IP only certs
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-13 12:01:35 -07:00
334affa272
integration/fixtures: add IP only certs
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-13 11:58:36 -07:00
3d3ba8b9cb
integration: fix httptest TLS server start
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-13 11:16:54 -07:00
2d13894a16
integration: fix "fixtures-expired" path
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-09 11:49:42 -07:00
a60bb6104c
*: regenerate "fixtures-expired"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-09 10:59:52 -07:00
8a518b01c4
*: revert "internal/mvcc" change
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-02-26 17:11:40 -08:00
bb95d190c1
*: revert "internal/auth" change
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-02-26 17:11:40 -08:00
571e9a9e79
*: allow dbSizeInUse not to equal to dbSize when growing
...
Due to boltdb behavior, dbSizeInUse can be unequal to dbSize even when
dbSize is growing in some conditions. The possible gap between the sizes
is up to a couple of pages.
Closes #9302
2018-02-08 19:33:21 -08:00
a696343a0f
integration: fix govet error in Go tip
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-02-02 14:33:42 -08:00
6b775cd786
*: Add dbSizeInUse to StatusResposne
...
Existing dbSize shows physically allocated DB size and the backend
(boltdb) won't shrink it after a compaction until a user runs the defrag command.
The new dbSizeInUse shows the DB size that excludes free pages created
by compactions so that users can see the actual DB usage. dbSize >=
dbSizeInUse is always true.
Note that dbSizeInUse shows a page-based size and not byte level usage.
2018-02-01 12:15:23 -08:00
6c91766490
*: move "auth" to "internal/auth"
2018-01-29 14:57:35 +09:00