fix for bug 1162887

Users no longer need to disable the plugin to connect to
a different gearman server.

Along with this commit I changed the 'launchWorker' plugin config name to
'enablePlugin' because enabling plugin is distinct from running gearman workers.

Change-Id: Ia81d78da3dbdc83fd46dd7f5d40ccb9aca3af97f
This commit is contained in:
zaro0508
2013-04-29 14:00:25 -07:00
parent 07026b7b71
commit 0de925f6d8
8 changed files with 85 additions and 65 deletions

View File

@@ -69,7 +69,7 @@ public class GearmanPluginConfigTest {
@Test
public void testDefaultLaunchWorker() {
assertEquals(Constants.GEARMAN_DEFAULT_LAUNCH_WORKER,
gpc.launchWorker());
assertEquals(Constants.GEARMAN_DEFAULT_ENABLE_PLUGIN,
gpc.enablePlugin());
}
}