Fix TransferTest.notEnoughStepLimit to check timeout
@@ -167,6 +167,9 @@ public class TransferTest extends TestBase {
} catch (RpcError e) {
LOG.info("Expected RpcError: code=" + e.getCode() + ", msg=" + e.getMessage());
assertNotEquals(newDefStepCost, limits[i]);
+ } catch (ResultTimeoutException e) {
+ LOG.info("Expected Timeout: msg=" + e.getMessage());
+ assertNotEquals(newDefStepCost, limits[i]);
} catch (Exception e) {
fail(e);
}
