configurable data path concurrency: UT

Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
This commit is contained in:
Lyndon-Li
2023-11-06 20:29:33 +08:00
parent 262f10ff49
commit 68579448d6
6 changed files with 622 additions and 12 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ type singleLogRecorder struct {
}
func (s *singleLogRecorder) Write(p []byte) (n int, err error) {
*s.buffer = string(p[:])
*s.buffer = *s.buffer + string(p[:])
return len(p), nil
}