changeset 986:b297473ff0d0

Merge branch Indore-2017.2.x
author Dmitry Neverov <dmitry.neverov@gmail.com>
date Thu, 25 Jan 2018 11:25:08 +0100
parents ec20a7691c8b (current diff) e78734c8fa95 (diff)
children 0017752827d3
files
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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");