Instead of having a "no register" option for new objects, instead allow new() to send in a custom shmem key. Example:
rpiw (prod)
rpit (testing)
This way, the test suite can blow away the entire meta db after each run to ensure its cleaned up properly on test failure, without disrupting the production scripts.
Instead of having a "no register" option for new objects, instead allow
new()
to send in a custom shmem key. Example:This way, the test suite can blow away the entire meta db after each run to ensure its cleaned up properly on test failure, without disrupting the production scripts.