We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65e68ad commit 102fe93Copy full SHA for 102fe93
1 file changed
coord/tests/unit/test_distagg.cpp
@@ -133,13 +133,11 @@ static void testSplit() {
133
}
134
135
int main(int, char **) {
136
- RMCK_Bootstrap(my_OnLoad, NULL, 0);
137
- RMCK::init();
+ const char *arguments[] = {""};
+ RMCK_Bootstrap(my_OnLoad, arguments, 1);
138
testAverage();
139
testCountDistinct();
140
- // RMCK_Shutdown() is causing a segfault, but I need to remove the scorer before exiting to avoid sanitizer errors
141
- rm_free((void *)RSGlobalConfig.defaultScorer);
142
- RSGlobalConfig.defaultScorer = NULL;
+ RMCK_Shutdown();
143
144
145
//REDISMODULE_INIT_SYMBOLS();
0 commit comments