Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,10 @@ void testPythonProcessor() throws Exception {
trace -> {
trace.hasSpansSatisfyingExactly(
span -> {
// not asserting status as it is either unset or error depending on whether python
// is available or not
span.hasName(String.format("%s.process", PythonProcessor.class.getSimpleName()))
.hasKind(SpanKind.INTERNAL)
.hasStatus(StatusData.unset())
.hasAttributesSatisfyingExactly(
attributeAssertions(
PythonProcessor.class.getName(), jobId, jobParam, PYTHON_PROCESSOR));
Expand All @@ -219,7 +220,6 @@ void testPythonProcessor() throws Exception {

@Test
void testHttpProcessor() throws Exception {

long jobId = 1;
String jobParam = "{\"method\":\"GET\"}";
TaskContext taskContext = genTaskContext(jobId, jobParam);
Expand All @@ -243,7 +243,6 @@ void testHttpProcessor() throws Exception {

@Test
void testFileCleanerProcessor() throws Exception {

long jobId = 1;
JSONObject params = new JSONObject();
params.put("dirPath", "/abc");
Expand Down Expand Up @@ -305,7 +304,6 @@ void testSpringDataSourceProcessor() throws Exception {

@Test
void testDynamicDataSourceProcessor() throws Exception {

long jobId = 1;
String jobParam = "{\"dirPath\":\"/abc\"}";
TaskContext taskContext = genTaskContext(jobId, jobParam);
Expand Down
Loading