Skip to content

Commit 953138c

Browse files
committed
feat: add log alerting function to api
1 parent 43990d4 commit 953138c

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

api/mw/monitor/monitor_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,6 @@ func TestBuildRequestEvent(t *testing.T) {
5757

5858
event = buildRequestEvent("/api/foo", []byte(`{"code":2000,"msg":"Success"}`), "trace-paper", now)
5959
assert.Zero(t, event.errorCode)
60-
61-
event = buildRequestEvent("/api/foo", []byte(`{"code":200,"message":"ok"}`), "trace-custom", now)
62-
assert.Zero(t, event.errorCode)
6360
}
6461

6562
func TestCompactWindow(t *testing.T) {

0 commit comments

Comments
 (0)