Allon Mureinik has uploaded a new change for review. Change subject: core: Reduce timeout in DiretorySearcherTest ......................................................................
core: Reduce timeout in DiretorySearcherTest Reduced timeout to 1 millisecond instead of 1 second. The timeout here is meaningless since all the test are done against mock servers anyway, and reducing the timeout allows the test to pass in in environments where network connectivity is disabled. Change-Id: I2cd5b543963a3c6c16b8cfe2a40e5433c5ac3422 Signed-off-by: Allon Mureinik <[email protected]> --- M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/adbroker/DirectorySearcherTest.java 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/16/14416/1 diff --git a/backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/adbroker/DirectorySearcherTest.java b/backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/adbroker/DirectorySearcherTest.java index 92fd8c9..dfe62c6 100644 --- a/backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/adbroker/DirectorySearcherTest.java +++ b/backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/adbroker/DirectorySearcherTest.java @@ -176,6 +176,6 @@ private static Boolean execute(GetRootDSETask task) throws InterruptedException, ExecutionException, TimeoutException { - return executerService.submit(task).get(1, TimeUnit.SECONDS); + return executerService.submit(task).get(1, TimeUnit.MILLISECONDS); } } -- To view, visit http://gerrit.ovirt.org/14416 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I2cd5b543963a3c6c16b8cfe2a40e5433c5ac3422 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Allon Mureinik <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
