/** * Asserts that the specified runnable completes within the specified timeout. * * @param timeout Timeout. * @param timeUnit Timeout {@link TimeUnit}. * @param runnable {@link Runnable} to check. * @throws Exception In case of any exception distinct from {@link TimeoutException}. */ public static void assertTimeout(long timeout, TimeUnit timeUnit, Runnable runnable) throws Exception { assertTimeout("Timeout occurred.", timeout, timeUnit, runnable); }
System.setProperty("IGNITE_BINARY_SORT_OBJECT_FIELDS", "true"); GridTestUtils.assertTimeout(5, TimeUnit.SECONDS, new Runnable() { @Override public void run() { IgniteEx ignite;