Marek Siarkowicz
1246c52d04
etcdserver: Fix invalid count returned on Range with Limit
...
(cherry picked from commit 182aef6e6b28d2f62cd7281f38c12899d8006a15)
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2023-01-18 10:02:10 +08:00
Gyuho Lee
34bd797e67
*: revert module import paths
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-05-28 15:39:35 -07:00
shivaramr
9150bf52d6
go modules: Fix module path version to include version number
2019-04-26 15:29:50 -07:00
Gyuho Lee
d37f1521b7
*: update import paths to "go.etcd.io/etcd"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-28 17:47:55 -07:00
Joe Betz
05c57a0ea4
integration: Fix unit test failures from new grpc LB changes, fix bom
2018-06-15 13:41:28 -07:00
Joe Betz
1f6548b751
clientv3: Stop expecting retry in integration tests with new grpc balancer
2018-06-15 13:41:28 -07:00
Joe Betz
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
Gyuho Lee
6ab9776601
integration: add "TestTLSReloadCopyIPOnly"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-13 13:02:45 -07:00
Manjunath A Kumatagi
97817404c9
integration: Fix govet errors
2018-01-25 04:50:40 -05:00
Gyuho Lee
9442f90016
integration: remove typo in "TestV3LargeRequests"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-20 10:54:40 -08:00
Gyuho Lee
abfc09b1ca
integration: test large request response back from server
...
Address https://github.com/coreos/etcd/issues/9043 .
Won't fix it, but we need test coverage on response back
from server as well.
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-19 14:45:20 -08:00
Gyu-Ho Lee
6f76d52a1a
*: deprecate grpc.Code, grpc.ErrorDesc
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-09-11 09:28:56 -07:00
Gyu-Ho Lee
f65aee0759
*: replace 'golang.org/x/net/context' with 'context'
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-09-07 13:39:42 -07:00
Gyu-Ho Lee
15c3c1be28
*: replace 'grpc.ErrClientConnTimeout' with 'context.DeadlineExceeded'
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-09-05 14:10:43 -07:00
Anthony Romano
6e02779c4f
integration: add corruption test
2017-08-22 09:59:59 -07:00
Anthony Romano
c3ae033f25
integration: test Put with PrevKey=true
...
Was missing in proxy.
2017-08-03 21:37:06 -07:00
Anthony Romano
341664f7b6
integration: test txn lease comparisons
2017-07-31 13:00:04 -07:00
Xiang Li
2a348fb8e9
Merge pull request #8263 from fanminshi/hash_by_rev
...
api: hash by rev
2017-07-26 11:22:33 -07:00
fanmin shi
766c2540ae
integration: add TestV3HashKV in v3_grpc_test.go
2017-07-26 09:48:24 -07:00
Gyu-Ho Lee
9b6799a5b6
integration: increase dial timeout in testTLSReload
2017-07-26 09:37:51 -07:00
Anthony Romano
0dd4c2ac69
integration: test grpc nested txns
2017-06-21 14:33:15 -07:00
Anthony Romano
fafb054624
integration: test txn range comparisons
2017-06-16 12:13:27 -07:00
Gyu-Ho Lee
5e059fd8dc
*: use metadata Incoming/OutgoingContext
...
Fix https://github.com/coreos/etcd/issues/7888 .
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-06-15 16:41:23 -07:00
Anthony Romano
ad22aaa354
integration: test txn comparison and concurrent put ordering
2017-06-09 09:20:38 -07:00
Anthony Romano
887db5a3db
*: fix go tool vet -all -shadow errors
2017-06-03 21:32:36 -07:00
fanmin shi
9e7740011b
etcdserver: add --max-request-bytes flag
2017-05-25 11:01:38 -07:00
fanmin shi
e9f464debc
integration: creation of cluster now takes maxTxnOps
2017-05-24 14:48:44 -07:00
fanmin shi
ae7ddfb483
etcdserver: add --max-txn-ops flag
...
--max-txn-ops allows users to define the maximum transaction operations
for each txn request. it defaults at 128.
Fixes #7826
2017-05-24 10:32:32 -07:00
Gyu-Ho Lee
85fa594265
integration: clean up TLS reload tests, fix no-file while renaming
...
Fix https://github.com/coreos/etcd/issues/7865 .
It is also possible to have mis-matched key file
while renaming directories.
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-05-03 11:59:09 -07:00
Gyu-Ho Lee
cfeab9324e
integration: match more TLS errors for wrong certs
...
Fix https://github.com/coreos/etcd/issues/7835 .
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-04-28 10:03:29 -07:00
Gyu-Ho Lee
22943e7e06
integration: test TLS reload
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-04-27 13:32:09 -07:00
Anthony Romano
b9cfa4cef9
integration: add serialized range to TestV3CompactCurrentRev
...
To catch compaction bugs in the proxy key cache.
2017-03-24 13:13:38 -07:00
Gyu-Ho Lee
f2e9936de5
integration: add 'TestV3HashRestart'
2017-02-21 16:20:56 -08:00
sharat
95edd1bc58
integration: put,txn with 'ignore_lease' flag
2017-01-25 03:07:23 +05:30
Gyu-Ho Lee
a66f133209
integration: test Put,Txn with ignore_value flag
2017-01-13 15:13:18 -08:00
Anthony Romano
f1e0525c81
integration: use Range to wait for reboot in quota tests
...
Proxy client layer ignores call options so Put is always FailFast;
this can lead to connection errors when trying to issue the Put
following restarting the client's target server.
2016-11-30 13:56:30 -08:00
Gyu-Ho Lee
f550af7ef4
integration: test sort ASCEND by default in range
2016-10-18 16:50:30 -07:00
Geoff Levand
84d2ff93b0
integration/v3_grpc_test: Fix quota tests
...
Use the system page size to set the test quota size. Also, change
a comment related to setting the node quota to be more clear.
Signed-off-by: Geoff Levand <geoff@infradead.org>
2016-10-05 16:41:06 -07:00
Anthony Romano
aa7a35798d
integration: add tests for MinCreateRev and MaxCreateRev
2016-09-14 15:31:45 -07:00
Anthony Romano
17e7f83212
integration: test MinModRev/MaxModRev
2016-09-12 19:44:14 -07:00
Xiang Li
92a0f08722
etcdserver: fix wrong rev in header when nothing is actually got executed
2016-08-12 11:44:13 -07:00
Anthony Romano
b3f8490660
integration: add FailFast(false) to failing tests
2016-07-14 17:58:58 -07:00
Anthony Romano
07ed4da2ff
integration: test grpc error equivalence with Error()
2016-07-14 17:58:49 -07:00
Xiang Li
12bf1a3382
*: rename preserveKVs to prevKv
2016-07-05 20:45:01 -07:00
Xiang Li
40c4a7894d
*: support return prev deleted kv
2016-07-01 14:01:48 -07:00
Anthony Romano
7abc8f21eb
integration: update tests for new grpc reconnection interface
2016-06-08 01:04:59 -07:00
Gyu-Ho Lee
1610391449
*: following changes for proto update
2016-06-07 13:33:03 -07:00
Anthony Romano
84a487f723
Revert "etcdserverpb: make RangeResponse.More an int64"
...
This reverts commit 84e1ab876539b0bcd1387d7ce6c8b07b72f398d2.
2016-06-02 13:43:40 -07:00
Anthony Romano
84e1ab8765
etcdserverpb: make RangeResponse.More an int64
2016-06-01 17:10:23 -07:00
Xiang Li
c7c0e1eb7a
integration: remove parallel testing
...
We cannot do testing in parallel since leak testing will detect the goroutines
in other tests running in parallel.
2016-05-13 12:01:25 -07:00