tests/robustness: Store whole watch operations

Want to keep watch requests to properly validate reliability of watch
stream.

Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
This commit is contained in:
Marek Siarkowicz
2023-06-24 11:59:30 +02:00
parent 31b20ef40f
commit 26cd2bc017
8 changed files with 161 additions and 117 deletions

View File

@ -333,9 +333,9 @@ func TestPatchHistory(t *testing.T) {
}
operations := patchedOperationHistory([]traffic.ClientReport{
{
ClientId: 0,
OperationHistory: history.History,
Watch: watch,
ClientId: 0,
KeyValue: history.History,
Watch: []traffic.WatchOperation{{Responses: watch}},
},
})
remains := len(operations) == history.Len()