Skip to content

Commit

Permalink
tests/robustness: continue should ignore last key
Browse files Browse the repository at this point in the history
Signed-off-by: Wei Fu <fuweid89@gmail.com>
  • Loading branch information
fuweid committed Jan 24, 2025
1 parent 65a1722 commit 564e362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/robustness/traffic/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 564e362

Please sign in to comment.