small: fix flaky test in small
There was error in test: in case when rand() % OSCILLATION_MAX return 0, no memory allocation is made, so fail_unless(obuf_capacity(&buf) > 0) check failed. A small refactoring was also done: add slab_arena_destroy for graceful resources release, removed global seed value, removed unused value from enum. Closes #5345
Please register or sign in to comment