Piotr Tabor
de41f83343
Merge pull request #14383 from serathius/context-e2e
...
tests: Add context to e2e cluster start
2022-08-29 21:12:12 +02:00
Benjamin Wang
dc4b810195
Merge pull request #14388 from niconorsk/fix/notify-systemd-when-cluster-ready-times-out
...
etcdmain: Honour ExperimentalWaitClusterReadyTimeout in startEtcd
2022-08-26 18:34:52 +08:00
Nicolai Moore
e15bdd9df1
etcdmain: Honour ExperimentalWaitClusterReadyTimeout in startEtcd
...
When we can't reach quorum, we were waiting forever and never sending
the systemd notify message. As a result, systemd would eventually time out
and restart the etcd process which likely would make the unhealthy cluster
in an even worse state
Improves #13785
Signed-off-by: Nicolai Moore <niconorsk@gmail.com>
2022-08-26 18:06:50 +10:00
Marek Siarkowicz
70de5c8937
tests: Add context to e2e cluster start
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2022-08-26 08:08:17 +02:00
Marek Siarkowicz
72bec6fbc2
tests: Add context to common client interface
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2022-08-26 07:12:45 +02:00
Marek Siarkowicz
e292e5b0b4
tests: Apply suggestions from code-review
2022-05-06 12:09:44 +02:00
Marek Siarkowicz
a65f7da5cb
server: Implement HA downgrade test
2022-05-06 12:09:44 +02:00
Marek Siarkowicz
c50fbb9ad6
tests: Retry validating version during downgrades
2022-05-06 12:09:44 +02:00
Marek Siarkowicz
c9af75dd8d
tests: Improve logging in downgrade tests
2022-05-06 12:09:43 +02:00
Marek Siarkowicz
7b04674d17
server: Move fatal calls out of internal function to make stacktrace cleaner
2022-05-06 12:09:43 +02:00
Marek Siarkowicz
75449c075d
tests: Allow sepecting member to in curl commands
2022-05-06 12:09:43 +02:00
Marek Siarkowicz
923096a2bb
tests: Simplify downgrade tests
2022-05-06 12:09:43 +02:00
Marek Siarkowicz
3f05f7de92
tests: Use restart in downgrade tests
2022-05-06 12:09:43 +02:00
Marek Siarkowicz
744dd077cd
tests: Create common framework for e2e and integration tests and migrate TestKVPut test
2022-02-23 16:47:02 +01:00
Marek Siarkowicz
2a7766c8cd
tests: Switch downgradetests to use etcdctl
2022-02-21 17:58:19 +01:00
Marek Siarkowicz
a0f26ff4ea
server: Snapshot after cluster version downgrade
2022-02-21 15:48:00 +01:00
Marek Siarkowicz
3de5e221a8
tests: Fix cluster version and downgrade request timeout
...
Returning nil means that raft.Trigger was not called, causing member to
wait infinitly for response for response on raft request.
2022-02-14 14:19:06 +01:00
Marek Siarkowicz
6c2be0822d
tests: Add e2e tests for downgrades
2021-10-29 12:47:19 +02:00