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

@ -204,7 +204,7 @@ func (s testScenario) run(ctx context.Context, t *testing.T, lg *zap.Logger, clu
func operationsMaxRevision(reports []traffic.ClientReport) int64 {
var maxRevision int64
for _, r := range reports {
revision := r.OperationHistory.MaxRevision()
revision := r.KeyValue.MaxRevision()
if revision > maxRevision {
maxRevision = revision
}