Skip to content

Commit

Permalink
Fix ut error
Browse files Browse the repository at this point in the history
  • Loading branch information
CalvinKirs committed Oct 31, 2023
1 parent 48483dc commit e6b113d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

package org.apache.doris.scheduler.job;

import lombok.extern.slf4j.Slf4j;
import org.apache.doris.common.io.Text;
import org.apache.doris.common.io.Writable;
import org.apache.doris.common.util.TimeUtils;
Expand All @@ -27,6 +26,7 @@
import com.google.common.collect.Lists;
import com.google.gson.annotations.SerializedName;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;

import java.io.DataInput;
import java.io.DataOutput;
Expand Down Expand Up @@ -56,7 +56,7 @@ public class JobTask<T> implements Writable {
private String executeResult;
@SerializedName("errorMsg")
private String errorMsg;

@SerializedName("contextDataStr")
private String contextDataStr;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ public class TaskDisruptorTest {
@BeforeEach
public void init() {
taskDisruptor = new TaskDisruptor(timerJobManager, transientTaskManager);
taskDisruptor.start();
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ public void init() {
TransientTaskManager transientTaskManager = new TransientTaskManager();
TaskDisruptor taskDisruptor = new TaskDisruptor(this.timerJobManager, transientTaskManager);
this.timerJobManager.setDisruptor(taskDisruptor);
taskDisruptor.start();
timerJobManager.start();
}

Expand Down

0 comments on commit e6b113d

Please sign in to comment.