2e7cb772b2
tests/robustness: Implement proper range requests
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2023-06-22 18:36:43 +02:00
f7831e2607
tests/robustness: Move key into dedicated options to allow to implement proper ranges
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2023-06-22 18:27:54 +02:00
3f09a51c60
tests/robustness: Make watch event independent from etcd operation
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2023-06-22 15:43:27 +02:00
96987d8b5e
tests/robustness: Implement stale reads without validation
...
For now we just validate stale read revision, but not response content.
Reason is that etcd model only stores latest version of keys, and no
history like real etcd.
Validating stale read contents needs to be done outside of model
as storing whole history is just to costly for linearization validation.
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2023-06-16 21:17:37 +02:00
34cbf4cd6f
tests/robustness: Allow errors and unknown responses in deterministic model
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2023-06-15 22:25:48 +02:00
6979318108
tests/robustness: Make Range a proper request type to allow setting Range.Revision != 0 for stale reads
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2023-06-14 13:55:45 +02:00
974655e02c
tests/robustness: Rename operations const to separate from RequestType
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2023-06-14 13:24:14 +02:00
6e53792568
tests/robustness: Implement Kubernetes optimistic concurrency operations
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2023-05-15 13:45:27 +02:00
7c68be4cf3
tests/robustness: Implement Range limit and count
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2023-05-07 09:32:07 +02:00
40f71ef3c6
tests/robustness: Implement delete request for kubernetes scenario
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2023-05-05 13:40:46 +02:00
92366a5338
tests/robustness: Split model code into deterministic and non-deterministic
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
Co-authored-by: Benjamin Wang <wachao@vmware.com >
Co-authored-by: chao <54131596+chaochn47@users.noreply.github.com >
2023-05-05 12:25:10 +02:00
cfe154209c
tests/robustness: Separate describe model functions to dedicated file
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2023-05-04 14:03:18 +02:00