Skip to content

Commit d74b6ea

Browse files
committed
feat(backend): fix ut
1 parent 9596a6f commit d74b6ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/modules/observability/infra/repo/ck/spans_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ func TestBuildSql(t *testing.T) {
208208
},
209209
},
210210
},
211-
expectedSql: "SELECT * FROM `observability_spans` WHERE span_id in (SELECT span_id FROM `observability_annotations` WHERE (annotation_type = 'manual_feedback' AND key = 'abc' AND value_string IN ('123')) AND deleted_at = 0 AND start_time >= 1 AND start_time <= 2 FINAL) AND start_time >= 1 AND start_time <= 2 LIMIT 100",
211+
expectedSql: "SELECT * FROM `observability_spans` WHERE span_id in (SELECT span_id FROM `observability_annotations` WHERE (annotation_type = 'manual_feedback' AND key = 'abc' AND value_string IN ('123')) AND deleted_at = 0 AND start_time >= 1 AND start_time <= 2 SETTINGS final = 1) AND start_time >= 1 AND start_time <= 2 LIMIT 100",
212212
},
213213
}
214214
for _, tc := range testCases {

0 commit comments

Comments
 (0)