Skip to content

Commit

Permalink
feat(planner): plan sink batch as an op
Browse files Browse the repository at this point in the history
Signed-off-by: Jiyong Huang <[email protected]>
  • Loading branch information
ngjaying committed Mar 29, 2024
1 parent d2b8eb4 commit 06b618e
Show file tree
Hide file tree
Showing 8 changed files with 273 additions and 424 deletions.
139 changes: 0 additions & 139 deletions internal/io/sink/send_manager.go

This file was deleted.

165 changes: 0 additions & 165 deletions internal/io/sink/send_manager_test.go

This file was deleted.

1 change: 0 additions & 1 deletion internal/topo/node/batch_op_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ func TestRun(t *testing.T) {
}
mc := conf.Clock.(*clock.Mock)
for i, tc := range testcases {
mc.Set(mc.Now())
t.Run(fmt.Sprintf("testcase %d", i), func(t *testing.T) {
op, err := NewBatchOp("test", &api.RuleOption{BufferLength: 10, SendError: true}, tc.batchSize, tc.lingerInterval)
if len(tc.err) > 0 {
Expand Down
Loading

0 comments on commit 06b618e

Please sign in to comment.