Closed Aditya-Chowdhry closed 1 month ago
I made an error in ordering
assert(helpers.start_kong({
plugins = "bundled,plugin_name", -- Enable the custom plugin
}))
Kong should be started after the initialization of services and routes.
Thx for responding with your fix. Future us will be grateful 😉
Hi,
I have been developing a plugin with Pongo setup. Here is the basic integration test
When running the first time or after
pongo clean
. Usually, I follow with commandpongo shell "kong migrations bootstrap && kong migrations up && exit"
Then running pongo run, tests always fail with error no Route matched with those values
Subsequent pongo runs are successful. I tried debugging and played around by making the setup wait for 5-10 seconds in order for kong to register routes but with no success. I failed to find any relevant docs or resources.
Let me know if there is any issue with my setup. Thanks