EXPECT_TRUE(checkMarkerFile(LOAD_MARKER_FILE, "1212"));
}
-// Check that the "libreload" command will reload libraries when MT is enabled
+// Check that the "libreload" command will fail to reload libraries which are
+// not compatible when multi-threading is enabled
TEST_F(CtrlChannelDhcpv4SrvTest, libreloadFailMultiThreading) {
createUnixChannelServer();
}
// Verifies that libraries incompatible with multi threading are not loaded by
-// the server
+// the server.
// The callout libraries write their library index number to a marker
// file upon load and unload, making it simple to test whether or not
// the load and unload callouts have been invoked.
EXPECT_TRUE(checkMarkerFile(LOAD_MARKER_FILE, "1212"));
}
-// Check that the "libreload" command will reload libraries when MT is enabled
+// Check that the "libreload" command will fail to reload libraries which are
+// not compatible when multi-threading is enabled
TEST_F(CtrlChannelDhcpv6SrvTest, libreloadFailMultiThreading) {
createUnixChannelServer();
}
// Verifies that libraries incompatible with multi threading are not loaded by
-// the server
+// the server.
// The callout libraries write their library index number to a marker
// file upon load and unload, making it simple to test whether or not
// the load and unload callouts have been invoked.
{
"enable-multi-threading, without thread-pool-size or packet-queue-size",
"{ \n"
- " \"enable-multi-threading\": true, \n"
+ " \"enable-multi-threading\": true \n"
"} \n"
},
{