[Tarantool-patches] [PATCH 1/2] errinj: provide 'get' method in Lua

Konstantin Osipov kostja.osipov at gmail.com
Wed Nov 27 11:35:23 MSK 2019


* Vladislav Shpilevoy <v.shpilevoy at tarantool.org> [19/11/27 11:15]:
> Error injections are used to simulate an error. They are
> represented as a flag, or a number, and are used in Lua tests. But
> they don't have any feedback. That makes impossible to use the
> injections to check that something has happened. Something very
> needed to be checked, and impossible to check in a different way.
> 
> More certainly, the patch is motivated by a necessity to count
> loaded dynamic libraries to ensure, that they are loaded and
> unloaded when expected. This is impossible to do in a platform
> independent way. But an error injection as a debug-only counter
> would solve the problem.

lgtm


-- 
Konstantin Osipov, Moscow, Russia


More information about the Tarantool-patches mailing list