tzssangglass commented on code in PR #8254:
URL: https://github.com/apache/apisix/pull/8254#discussion_r1023432170


##########
t/APISIX.pm:
##########
@@ -506,8 +503,11 @@ _EOC_
     end
 
     require "resty.core"
-
-    $extra_init_by_lua_start
+_EOC_
+    my $calling_sub = (caller(1))[1];
+    if (index($calling_sub, "tars") != -1) {

Review Comment:
   It looks like we didn't actually remove the `extra_init_by_lua_start` mount 
point. It's just determining if it's a tars module in the APISIX.pm file and 
mounting it.
   
   If there are other test cases that we want to mount in this location in the 
future, we need to add it in APISIX.pm?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to