RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
Fix unit test (#20081)
Wang Qi85821873a537
diff --git a/internal/engine/nats/consumer_selfheal_test.go b/internal/engine/nats/consumer_selfheal_test.goindex 46d517497b..44b81d4054 100644--- a/internal/engine/nats/consumer_selfheal_test.go+++ b/internal/engine/nats/consumer_selfheal_test.go@@ -109,7 +109,9 @@ func TestPullMessages_RecreatesConsumerWhenItDisappears(t *testing.T) {// And the recreated consumer must actually deliver: publish after the repair// and pull it back.publishTask(t, queue, "after-repair")- recovered, err := queue.PullMessage(pullCtx)+ recoveredCtx, recoveredCancel := taskPullContext(t)+ defer recoveredCancel()+ recovered, err := queue.PullMessage(recoveredCtx)if err != nil {t.Fatalf("PullMessage after the repair: %v", err)}