mirror of
https://gitee.com/mateos/mateclaw.git
synced 2026-09-13 11:13:43 +08:00
Decoupling the channel-message event bridge onto an @Async listener means the downstream workflow run is produced off the event-publishing thread. The test read the run table synchronously right after publishEvent, racing the listener — the positive cases failed and the negative cases passed for the wrong reason. Poll briefly for the run (positive) / give the listener time then assert none (negative) so the test reflects the async dispatch semantics. |
||
|---|---|---|
| .. | ||
| ingest | ||
| AgentLifecycleTriggerTest.java | ||
| ChannelMessageTriggerTest.java | ||
| TriggerDispatcherWorkflowTest.java | ||
| TriggerEventIngestServiceTest.java | ||
| TriggerServiceLifecycleTest.java | ||
| WorkflowCompletionTriggerTest.java | ||