From 564e3624084fb6c4eba4d5b7e3e826d2cd1bc959 Mon Sep 17 00:00:00 2001 From: Wei Fu Date: Fri, 24 Jan 2025 18:55:06 -0500 Subject: [PATCH] tests/robustness: continue should ignore last key Signed-off-by: Wei Fu --- tests/robustness/traffic/kubernetes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/robustness/traffic/kubernetes.go b/tests/robustness/traffic/kubernetes.go index ad1d7de4209..15a508189bb 100644 --- a/tests/robustness/traffic/kubernetes.go +++ b/tests/robustness/traffic/kubernetes.go @@ -129,7 +129,7 @@ func (t kubernetesTraffic) Read(ctx context.Context, kc kubernetes.Interface, s } hasMore = resp.Count > int64(len(resp.Kvs)) if hasMore { - cont = string(kvs[len(kvs)-1].Key) + cont = string(kvs[len(kvs)-1].Key) + "\x00" } } s.Reset(revision, kvs)