geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbarr...@apache.org
Subject [geode-native] branch develop updated: GEODE-3022: Delete an unnecessary test
Date Tue, 05 Dec 2017 18:06:27 GMT
This is an automated email from the ASF dual-hosted git repository.

jbarrett pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-native.git


The following commit(s) were added to refs/heads/develop by this push:
     new e3728b3  GEODE-3022: Delete an unnecessary test
e3728b3 is described below

commit e3728b32e209dc9493c554b1622dea7f3682f263
Author: Mike Martell <mmartell@pivotal.io>
AuthorDate: Tue Dec 5 09:45:11 2017 -0800

    GEODE-3022: Delete an unnecessary test
---
 cppcache/integration-test/testSystemProperties.cpp | 31 ----------------------
 1 file changed, 31 deletions(-)

diff --git a/cppcache/integration-test/testSystemProperties.cpp b/cppcache/integration-test/testSystemProperties.cpp
index f882a0b..11ada78 100644
--- a/cppcache/integration-test/testSystemProperties.cpp
+++ b/cppcache/integration-test/testSystemProperties.cpp
@@ -58,37 +58,6 @@ BEGIN_TEST(DEFAULT)
   }
 END_TEST(DEFAULT)
 
-/*
- * Commenting the last two tests because I need to know where to put
- * the file which will be passed to the constructor. These two tests works.
- * But for others it might fail so commenting them as of now.
- */
-BEGIN_TEST(CONFIG)
-  {
-    // create a file for alternate properties...
-    //  FILE* propFile = ACE_OS::fopen( "./test.properties", "a+" );
-    //  ACE_OS::fprintf( propFile, "gf.transport.config=./gfconfig\n" );
-    ///  ACE_OS::fprintf( propFile, "statistics.sample.interval=2000\n" );
-    //  ACE_OS::fprintf( propFile, "statistics.enabled=false\n" );
-    //  ACE_OS::fprintf( propFile, "statistics.archive.file=./stats.gfs\n" );
-    //  ACE_OS::fprintf( propFile, "log.level=error\n" );
-    //  ACE_OS::fclose( propFile );
-
-    // Make sure product can at least log to stdout.
-    Log::init(Log::Config, nullptr, 0);
-
-    SystemProperties* sp = new SystemProperties(nullptr, "test.properties");
-    ASSERT(sp->statisticsSampleInterval() == std::chrono::seconds(1),
-           "expected 1");
-    ASSERT(sp->statisticsEnabled() == true, "expected true");
-    auto&& safname = sp->statisticsArchiveFile();
-    ASSERT_EQ("statArchive.gfs", safname);
-    Log::LogLevel ll = sp->logLevel();
-    ASSERT(ll == Log::Config, "expected Log::Config");
-    delete sp;
-  }
-END_TEST(CONFIG)
-
 BEGIN_TEST(NEW_CONFIG)
   {
     // When the tests are run from the build script the environment variable

-- 
To stop receiving notification emails like this one, please contact
['"commits@geode.apache.org" <commits@geode.apache.org>'].

Mime
View raw message