tests: Mark failed requests as timed out

Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
This commit is contained in:
Marek Siarkowicz
2022-12-01 20:30:31 +01:00
parent 6a68141db5
commit 68fd863c87
2 changed files with 53 additions and 2 deletions

View File

@ -162,7 +162,7 @@ func simulateTraffic(ctx context.Context, t *testing.T, clus *e2e.EtcdProcessClu
config.traffic.Run(ctx, c, limiter, ids)
mux.Lock()
operations = append(operations, c.operations...)
operations = append(operations, c.Operations()...)
mux.Unlock()
}(c)
}