@ovazhnev try running your busted tests with KONG_TEST_CUSTOM_PLUGINS=my-plugin-id env var, or potentiallyKONG_TEST_PLUGINS=my-plugin-id environment var. I believe this is necessary for tests to run migrations on your custom daos.lua defined tables and for the dao to know about them in the context of the test environment / bootstrapping helper.
Thanks. It helped. But I also noticed such warning once:
019/03/18 12:22:03 [warn] the ‘custom_plugins’ configuration property is deprecated, use ‘plugins’ instead
Error: ./kong/cmd/start.lua:60: nginx: [warn] [lua] log.lua:63: log(): the ‘custom_plugins’ configuration property is deprecated, use ‘plugins’ instead
So I tried KONG_TEST_PLUGINS=my-plugin-id and it also works.
I suspect “KONG_TEST_PLUGINS” is preferred