You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "Revolyssup (via GitHub)" <gi...@apache.org> on 2023/05/16 16:11:57 UTC

[GitHub] [apisix] Revolyssup commented on a diff in pull request #9478: fix: Wrong log format for splunk-hec-logging

Revolyssup commented on code in PR #9478:
URL: https://github.com/apache/apisix/pull/9478#discussion_r1195399550


##########
t/plugin/splunk-hec-logging.t:
##########
@@ -375,3 +375,50 @@ hello world
 the mock backend is hit
 --- no_error_log
 [error]
+
+
+
+=== TEST 11: set route test batched data
+--- config
+    location /t {
+        content_by_lua_block {
+            local t = require("lib.test_admin").test
+            local code, body = t('/apisix/admin/routes/1', ngx.HTTP_PUT, {
+                uri = "/hello",
+                upstream = {
+                    type = "roundrobin",
+                    nodes = {
+                        ["127.0.0.1:1980"] = 1
+                    }
+                },
+                plugins = {
+                    ["splunk-hec-logging"] = {
+                        endpoint = {
+                            uri = "http://127.0.0.1:18088/services/collector",

Review Comment:
   It is run in CI https://github.com/apache/apisix/blob/1e31e9da12191789ea30439e82d2d45ed50b9b00/ci/pod/docker-compose.plugin.yml#L195
   
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org