* @since 4.3
*/
public class TestLoobackAsynch extends TestCase {
public void test() throws Exception {
LoopbackExecutionFactory connector = new LoopbackExecutionFactory();
connector.setWaitTime(200);
connector.setRowCount(1000);
connector.setPollIntervalInMilli(100L);
ConnectorHost host = new ConnectorHost(connector, null, FakeTranslationFactory.getInstance().getBQTTranslationUtility());
List results = host.executeCommand("SELECT intkey from bqt1.smalla"); //$NON-NLS-1$
assertEquals(1000, results.size());
}