use of com.twosigma.beakerx.KernelSocketsServiceTest in project beakerx by twosigma.
the class GroovyExamplesSetupTest method setUp.
@BeforeClass
public static void setUp() throws Exception {
String sessionId = "sessionIdWidget";
BaseEvaluator evaluator = TestGroovyEvaluator.groovyEvaluator();
kernelSocketsService = new KernelSocketsServiceTest();
kernel = new Groovy(sessionId, evaluator, kernelSocketsService, NO_ACTION, getCacheFolderFactory());
kernelThread = new Thread(() -> KernelRunner.run(() -> kernel));
kernelThread.start();
kernelSocketsService.waitForSockets();
}
Aggregations