# HG changeset patch # User Dmitry Neverov # Date 1516875908 -3600 # Node ID b297473ff0d0030c94c4bc278cb3ce087f26dd03 # Parent ec20a7691c8b4f3ed17c7722cc9351e4347bd2f6# Parent e78734c8fa9512044aeeda030b0435b1cd20bf6e Merge branch Indore-2017.2.x diff -r ec20a7691c8b -r b297473ff0d0 mercurial-tests/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/MercurialVcsSupportTest.java --- a/mercurial-tests/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/MercurialVcsSupportTest.java Thu Jan 25 09:14:24 2018 +0100 +++ b/mercurial-tests/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/MercurialVcsSupportTest.java Thu Jan 25 11:25:08 2018 +0100 @@ -244,6 +244,7 @@ delete(nonExistingHg); String nonExistingHgPath = nonExistingHg.getAbsolutePath(); root.addProperty(Constants.HG_COMMAND_PATH_PROP, nonExistingHgPath); + setInternalProperty(Constants.CUSTOM_SERVER_HG_PATH_WHITELIST, nonExistingHgPath); try { myVcs.getTestConnectionSupport().testConnection(root); fail("Exception expected"); @@ -262,6 +263,7 @@ delete(nonExistingHg); String nonExistingHgPath = nonExistingHg.getAbsolutePath(); root.addProperty(Constants.HG_COMMAND_PATH_PROP, nonExistingHgPath); + setInternalProperty(Constants.CUSTOM_SERVER_HG_PATH_WHITELIST, nonExistingHgPath); try { myVcs.getTestConnectionSupport().testConnection(root); fail("Exception expected");