Commit Graph

3 Commits

Author SHA1 Message Date
Torin Sandall 1410f912fc runtime: Make plugin readiness timeout tests a bit more forgiving
We were starting to see test flakes because the timeouts were not very
forgiving. Bumping them so that the difference is orders of magnitude
to account for environments like GHA.

Signed-off-by: Torin Sandall <torinsandall@gmail.com>
2020-08-10 10:09:16 -04:00
mikaelcabot 47ecd762d7 feat: server wait for plugins
A new flag introduced `ready-timeout`.
This flag controls if and for how long OPA server will wait for
configured bundles and plugins to be activated/ready before listening for traffic.
A value of 0 or less means no wait is exercised.

Signed-off-by: mikaelcabot <mikaelcabot@gmail.com>
2020-08-06 14:34:27 -07:00
Torin Sandall 7db82e7aa3 cmd: Remove support for shared library loading
Shared library loading was removed in v0.14.0. This commit removes the
deprecated code and moves the test coverage for plugin registration
via the runtime package global into the runtime package.

Fixes #2049

Signed-off-by: Torin Sandall <torinsandall@gmail.com>
2020-04-30 14:53:20 -04:00