1257d0d919
tests: Fix history patch window
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2023-01-13 16:19:20 +01:00
6106912338
Lease support for linearizability tests : Updated as per review feedback.
...
Signed-off-by: Geeta Gharpure <geetagh@amazon.com >
2023-01-12 23:25:40 +00:00
bff3d4a592
tests: Fix putWithLease traffic timeout/limit and double overall timeout to reduce number of failed requests
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2023-01-12 10:17:54 +01:00
7b2dfece70
tests: Use watch events to patch history to speed up linearization
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2023-01-12 09:31:23 +01:00
3306639b76
Merge pull request #15080 from geetasg/lease_support_refactor
...
Add support for lease api to linearizability tests
2023-01-11 15:34:36 +01:00
5b84526e9a
Add support for lease api to linearizability tests
...
Signed-off-by: Geeta Gharpure <geetagh@amazon.com >
2023-01-11 05:19:57 +00:00
8a9f848d33
tests: Refactor how linearizability test components are run in parallel
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2023-01-10 15:12:12 +01:00
6821e226dd
tests: Watch events during linearizability test and compare history
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2023-01-10 15:11:23 +01:00
deb4291485
tests: Trigger only failpoints available in binary
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2023-01-09 17:29:38 +01:00
a992fb5e92
Merge pull request #15059 from serathius/linearizability-operations
...
tests: Rewrite etcd requests to use operations
2023-01-09 15:12:16 +01:00
acf3782c20
Merge pull request #15048 from serathius/linearizability-network
...
tests: Implement network delay and blackholing in linearizability tests
2023-01-09 14:51:54 +01:00
6877122dca
tests: Rewrite etcd requests to use operations
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2023-01-09 14:42:25 +01:00
064fad5ae4
tests: Implement network delay and blackholing in linearizability tests
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2023-01-09 14:18:07 +01:00
bb86058fef
tests: Test model describe method
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2023-01-01 19:54:16 +01:00
9d6b49ed16
Merge pull request #15056 from ptabor/20221218-goimport-tests
...
Goimports: Apply automated fixing to test files as well.
2022-12-30 10:18:05 +08:00
18a5dc417b
Merge pull request #14924 from serathius/linearizability-multiple-keys
...
tests: Support multiple keys in linearizability tests
2022-12-29 22:47:52 +01:00
9abc895122
Goimports: Apply automated fixing to test files as well.
...
Signed-off-by: Piotr Tabor <ptab@google.com >
2022-12-29 13:04:45 +01:00
6f899a7b40
Merge pull request #15052 from ptabor/20221228-goimports-fix
...
./scripts/fix.sh: Takes care of goimports across the whole project.
2022-12-29 11:31:22 +01:00
d4c8611be9
tests: Add comments to linearizability functions
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
Co-authored-by: Benjamin Wang <wachao@vmware.com >
2022-12-29 10:02:21 +01:00
9e1abbab6e
Fix goimports in all existing files. Execution of ./scripts/fix.sh
...
Signed-off-by: Piotr Tabor <ptab@google.com >
2022-12-29 09:41:31 +01:00
ff71f34368
tests: Support multiple keys in linearizability tests
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2022-12-28 20:03:36 +01:00
a4c1b3a9e2
Merge pull request #15045 from serathius/linearizability-model
...
tests: Refactor etcd model
2022-12-28 20:01:00 +01:00
de8b914eb0
Merge pull request #14909 from serathius/linearizability-issue14685-real
...
tests: Reproduce issue 14685
2022-12-25 06:48:22 +01:00
b108fabf86
tests: Reproduce issue 14685
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2022-12-24 21:26:57 +01:00
922bed1ae6
tests: Refactor etcd model
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2022-12-24 21:12:32 +01:00
1bb4c9558d
tests: Update gofail to v0.1.0
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2022-12-10 14:49:20 +01:00
26bf2f81f5
tests: Add Txn operation to linearizability tests
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2022-12-08 23:57:42 +01:00
60200b37d3
tests: Refactor etcd model
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2022-12-08 10:01:43 +01:00
5ff9202027
tests: Refactor append failed requests
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2022-12-06 10:21:07 +01:00
619ca4f5cf
tests: Add comments explaning handling failed requests
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2022-12-06 10:11:22 +01:00
d8da98c49f
tests: Fix return time for failed requests globally
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2022-12-06 10:11:22 +01:00
45fdc2bbac
tests: Extract history from client
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2022-12-06 10:11:22 +01:00
c5c2ea6aad
tests: Enforce that revision doesn't skips without error
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2022-12-06 10:11:22 +01:00
fe6e42d411
tests: Improve tests by expending on scenarios
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2022-12-06 10:11:22 +01:00
1d31e5e958
tests: Consider only latest failed request
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2022-12-06 10:11:22 +01:00
b922afc0a3
tests: Make etcdRequest and etcdResponse public to make it serializable
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2022-12-06 10:11:22 +01:00
68fd863c87
tests: Mark failed requests as timed out
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2022-12-06 10:11:22 +01:00
6a68141db5
tests: Allow dynamic number of clients
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2022-12-06 10:11:22 +01:00
42bb543315
Merge pull request #14897 from serathius/linearizability-trigger-exit
...
Allow failpoint requests to fail assuming that process exists within 1 second
2022-12-06 09:31:21 +01:00
2263315871
Merge pull request #14802 from geetasg/delete_api
...
linearizability tests - Add support for delete api
2022-12-06 09:30:59 +01:00
f2bc0823f6
tests: Make it explicit that we only suppurt panic failpoints
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2022-12-06 09:08:36 +01:00
738ee3687a
tests: Allow failpoint requests to fail assuming that process exists within 1 second
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2022-12-06 09:08:36 +01:00
a5cfc089fa
tests: Refactor picking a member function
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2022-12-06 09:08:36 +01:00
a573d8af69
tests: Use golang count to repeat tests
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2022-12-03 11:21:07 +01:00
7f70b8cf76
tests: Separate retries count from failure trigger count
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2022-12-03 11:21:07 +01:00
df2d075e1a
tests: Sleep between failpoint failure
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2022-12-03 11:21:07 +01:00
11711fc007
tests: Recreate cluster for every failpoint trigger
...
This shortens operation history and avoids having to many failed requests.
Failed requests are problematic as too many of them can cause linearizability
verification complexity to become exponential.
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2022-12-03 11:21:07 +01:00
ccf5d3c1af
Cleanup comment
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2022-12-01 09:49:33 -08:00
eef1fb9246
Record delete request errors
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2022-12-01 09:49:22 -08:00
6be22d84ef
Updated as per review feedback.
...
Signed-off-by: Geeta Gharpure <geetagh@amazon.com >
2022-12-01 09:39:26 -08:00