Agent Mesh
Go a2aa2a-protocolagent-meshagentic-aiinferencemcpmeshmesh-networknetwork-securitynetworking-aip2p-network
node: state the wanted result in the no-retry assertion
HosniBelfekif22a8ce7d71a
diff --git a/internal/node/mcp_handlers_test.go b/internal/node/mcp_handlers_test.goindex 3a34ab42..65794ffa 100644--- a/internal/node/mcp_handlers_test.go+++ b/internal/node/mcp_handlers_test.go@@ -650,7 +650,7 @@ func TestCallMCPTool_ProviderNotGrantedIsNotRetried(t *testing.T) {t.Fatalf("CallMCPTool to an ungranted provider = %v, want ErrProviderNotGranted", err)}if strings.Contains(err.Error(), "retries") {- t.Fatalf("CallMCPTool retried a provider that is not granted the service: %v", err)+ t.Fatalf("CallMCPTool to an ungranted provider = %v, want one refusal with no retry", err)}}