You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by mm...@apache.org on 2020/08/04 22:00:36 UTC

[geode-native] 03/06: Fix currentWorkingDir on Windows

This is an automated email from the ASF dual-hosted git repository.

mmartell pushed a commit to branch GEODE-8398-sni-support-dotnet
in repository https://gitbox.apache.org/repos/asf/geode-native.git

commit a62dbbcb38143691763d0ed6254ffce4dfcc6b0f
Author: Mike Martell <mm...@pivotal.io>
AuthorDate: Mon Aug 3 11:21:11 2020 -0700

    Fix currentWorkingDir on Windows
---
 cppcache/integration/test/SNITest.cpp | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/cppcache/integration/test/SNITest.cpp b/cppcache/integration/test/SNITest.cpp
index ba8b7d0..9a5e93c 100644
--- a/cppcache/integration/test/SNITest.cpp
+++ b/cppcache/integration/test/SNITest.cpp
@@ -44,6 +44,7 @@ class SNITest : public ::testing::Test {
     certificatePassword = std::string("apachegeode");
     clientSslKeysDir = boost::filesystem::path(
         getFrameworkString(FrameworkVariable::TestClientSslKeysDir));
+    currentWorkingDirectory = boost::filesystem::current_path();
   }
 
   ~SNITest() override = default;
@@ -111,8 +112,11 @@ class SNITest : public ::testing::Test {
 
   std::string certificatePassword;
   boost::filesystem::path clientSslKeysDir;
+  boost::filesystem::path currentWorkingDirectory;
 };
 
+TEST_F(SNITest, DISABLED_connectViaProxyTest){};
+
 TEST_F(SNITest, connectViaProxyTest) {
   const auto clientTruststore =
       (clientSslKeysDir / boost::filesystem::path("/truststore_sni.pem"));
@@ -135,7 +139,7 @@ TEST_F(SNITest, connectViaProxyTest) {
 
   auto region = cache.createRegionFactory(RegionShortcut::PROXY)
                     .setPoolName("pool")
-                    .create("region");
+                    .create("jellyfish");
 
   region->put("1", "one");