is it allowed to add a small server, used for mock...
# fluent-bit
r
is it allowed to add a small server, used for mocking calls?
p
What do you mean?
r
i want to test an utility of a plugin, that make request to an endpoint, and i have created a small server that act as mocking server, i don't know if it's okay, or i should create runtime tests for mocking calls.
p
I still don't really follow, is this something you are contributing to OSS? In which case it needs to all be runnable locally by CI and other users.
You can have a look at some of the other tests for plugins to see
r
I'm working on the oracle plugin and want to mock some calls to the imds server, i created a small server for that purpose but im not sure if it's acceptable according to fb guidelines, or if i should instead use runtime tests like other plugins
p
Runtime tests, the mocking server may be useful for debugging/dev but ultimately won't be something integrated into the rest of the build & test CI
r
noted, thank you